-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
36 lines (36 loc) · 1.07 KB
/
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
34
35
36
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
install:
- ps: Invoke-WebRequest 'https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.ps1' -OutFile ".\dotnet-install.ps1"
- ps: .\dotnet-install.ps1 -Channel "Preview" -Version "2.0.0-preview1-005977"
nuget:
account_feed: true
project_feed: true
environment:
ver_num: 0.2.0
ver_suffix: -alpha
build_script:
- cmd: >-
build_server.bat
test_script:
- cmd: dotnet test .\tests\SAMLSilly.Tests\SAMLSilly.Tests.csproj
after_test:
- cmd: dotnet pack .\src\SAMLSilly\SAMLSilly.csproj -c Release -o ..\..\artifacts\ /property:version=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: artifacts\**\*.nupkg
name: SAMLSilly
deploy:
- provider: NuGet
api_key:
secure: U9zqZ3JPcAM/4jiTw2hwZms8xY0naWWHbAIJRIvHYexzsMZS/LeZxJZdVMxslygj
artifact: SAMLSilly
on:
branch: master
- provider: NuGet
server: https://www.myget.org/F/ebyte23/api/v2/package
api_key:
secure: YtC3mG0Rq+bi8DUTzJ89j0REA5Apj8bYTgJXroTEoRmXHLW4jts/S693V35lp3Dn
artifact: SAMLSilly
on:
branch: dev