-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
33 lines (33 loc) · 929 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '2.0.{build}'
image: Visual Studio 2019
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
install:
# Install repo specific stuff here
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore --verbosity m > RestoreResult.txt
build_script:
- cmd: dotnet build --no-restore --verbosity m --configuration Release > BuildResult.txt
after_build:
# For once the build has completed
clone_depth: 1
test_script:
- cmd: dotnet test --configuration Release > TestResult.txt
on_finish :
# any cleanup in here
artifacts:
- path: 'RestoreResult.txt'
- path: 'BuildResult.txt'
- path: 'TestResult.txt'
- path: '**\*.nupkg'
name: NugetPackage
deploy: off