-
Notifications
You must be signed in to change notification settings - Fork 27
/
appveyor.yml
32 lines (32 loc) · 992 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
image: Visual Studio 2017
init:
- git config --global core.autocrlf true
install:
- ps: $env:BuildNumber= $env:APPVEYOR_BUILD_NUMBER
- ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
- ps: $env:NUGET_XMLDOC_MODE = "skip"
- ps: $env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
build_script:
- dotnet --version
- dotnet restore
- dotnet build -c Release
- dotnet pack -c Release .\src\Sandwych.Reporting\Sandwych.Reporting.csproj
test_script:
- dotnet test .\test\Sandwych.Reporting.Tests\Sandwych.Reporting.Tests.csproj
artifacts:
- path: 'src\Sandwych.Reporting\**\*.nupkg'
deploy:
- provider: NuGet
on:
branch: dev
server: https://www.myget.org/F/maltreport/api/v2/package
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: master
server: https://www.nuget.org/api/v2/package
api_key:
secure: +Vzw1TrGucj75tc1p/zRLBTZ3ku55hBUXgYwu94AUZBBJs92U8WHVrVuFZnHzXOk
skip_symbols: true
artifact: /.*\.nupkg/