-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
55 lines (40 loc) · 1.33 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#---------------------------------#
# general configuration #
#---------------------------------#
version: 1.7.0.{build}-{branch}
skip_tags: true
#---------------------------------#
# environment configuration #
#---------------------------------#
image: Visual Studio 2017
clone_depth: 1
nuget:
disable_publish_on_pr: true
#---------------------------------#
# build configuration #
#---------------------------------#
configuration: Release
build_script:
- dotnet --info
- dotnet restore --no-cache
- dotnet build --configuration Release --version-suffix %APPVEYOR_BUILD_NUMBER%
- dotnet pack src/RestApiHelpers/RestApiHelpers.csproj --configuration Release --no-build
#---------------------------------#
# tests configuration #
#---------------------------------#
test_script:
- dotnet test test/RestApiHelpers.Test/RestApiHelpers.Test.csproj --configuration Release -f netcoreapp1.0 --no-build
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src/**/*.nupkg
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
provider: NuGet
api_key:
secure: UrYYF7dW4tZvlgTcihdNHoURAdjBRAFUvbXO+Pt+772aQLVNtbjlDBY4BqvHBxcz
skip_symbols: false
artifact: /.*\.nupkg/