-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor_original.yml
134 lines (104 loc) · 3.57 KB
/
appveyor_original.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# http://www.appveyor.com/docs/appveyor-yml
# version format
version: 2.0.6.{build}
environment:
rc_version: 2.0.6-RC{build}
base_version: 2.0.6
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build
branches:
# whitelist
only:
- master
- dev
# Do not build on tags (GitHub only)
skip_tags: true
os: Visual Studio 2019
install:
- set PATH=C:\Program Files (x86)\MSBuild\16.0\Bin;%PATH%
# - sudo apt-get install nunit-console
# - nuget restore Polaroider.sln
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '$(base_version)-RC{build}'
assembly_version: $(base_version)
file_version: '{version}'
informational_version: '{version}'
# to add several platforms to build matrix:
#platform:
# - x86
# - Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
# to add several configurations to build matrix:
#configuration:
# - Debug
# - Release
before_build:
- nuget restore Polaroider.sln
build:
parallel: true # enable MSBuild parallel builds
project: Polaroider.sln # path to Visual Studio solution or project
publish_wap: false # package Web Application Projects (WAP) for Web Deploy
publish_wap_xcopy: false # package Web Application Projects (WAP) for XCopy deployment
publish_azure: false # package Azure Cloud Service projects and push to artifacts
publish_nuget: true # package projects with .nuspec files and push to artifacts
publish_nuget_symbols: true # generate and publish NuGet symbol packages
include_nuget_references: true # add -IncludeReferencedProjects option while packaging NuGet artifacts
# MSBuild verbosity level
# verbosity: quiet|minimal|normal|detailed
#---------------------------------#
# tests configuration #
#---------------------------------#
#test:
# assemblies:
# only:
# - Polaroider.Test.dll
# - '**\Polaroider.Configuration.Test.dll'
# categories:
# - UI
# - E2E
# to run tests from different categories as separate jobs in parallel
#test:
# categories:
# - A # A category common for all jobs
# - [UI] # 1st job
# - [DAL, BL] # 2nd job
# scripts to run before tests
#before_test:
# - echo script1
# - ps: Write-Host "script1"
# scripts to run after tests
#after_test:
# - ps: .\pack.ps1 # Run a script to create the nuget package
# to run your custom scripts instead of automatic tests
#test_script:
# - echo This is my custom test script
# to disable automatic tests
#test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src\Polaroider\bin\Release\netstandard2.0\Polaroider.dll
name: Polaroider.dll
- path: src\Polaroider\bin\Release\netstandard2.0\Polaroider.xml
name: Polaroider.xml
# - path: src\Polaroider.Configuration\bin\Release\Polaroider.Configuration.dll
# name: Polaroider.Configuration.dll
# pushing all *.nupkg files in directory
- path: '.\*.nupkg'
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment
# provider names are case-sensitive!
#deploy:
# Deploying to NuGet feed
# - provider: NuGet
# server: https://my.nuget.server/feed
# api_key:
# secure: FYWX6NfjZIVw==
# skip_symbols: false
# symbol_server: https://your.symbol.server/feed
# artifact: Polaroider.nupkg