-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
29 lines (29 loc) · 867 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
version: '1.0.{build}'
configuration:
- Debug
- Release
platform: Any CPU
environment:
# Don't report back to the mothership
DOTNET_CLI_TELEMETRY_OPTOUT: 1
init:
- ps: $Env:LABEL = "SNAPSHOT" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "src\IdentityServer4.Mock" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
- dotnet pack "src\IdentityServer4.Mock" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
test_script:
- dotnet test "test\IdentityServer4.Mock.Tests" -c %CONFIGURATION%
artifacts:
- path: artifacts\**\*.*
deploy:
provider: NuGet
api_key:
secure: TFTKac0CbCOvowsFmuUzFjjIcRNJNJnigSh568rlQcjSn2E3JjWbVcobqVD3wGtl
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master
configuration: Release