-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
126 lines (98 loc) · 3.02 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
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
# http://www.appveyor.com/docs/appveyor-yml
image:
- Visual Studio 2017
# version format
version: 1.0.3.{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
environment:
rc_version: 1.0.3-RC{build}
base_version: 1.0.3
# 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%
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
build:
parallel: true # enable MSBuild parallel builds
project: Broadcast.sln # path to Visual Studio solution or project
# publish_wap: true # package Web Application Projects (WAP) for Web Deploy
# publish_wap_xcopy: true # package Web Application Projects (WAP) for XCopy deployment
# publish_azure: true # 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 to test - optional
assemblies:
only:
- '**\*.Test.dll'
# only:
# - '**\Broadcast.Test.dll'
# - '**\Broadcast.Storage.Redis.Test.dll'
# - '**\Broadcast.Dashboard.Test.dll'
categories:
except:
- Integration
# - E2E
# 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"
# to run your custom scripts instead of automatic tests
#test_script:
# - echo This is my custom test script
# scripts to run after tests
#after_test:
# to disable automatic tests
#test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src\Broadcast\bin\Release\netstandard2.0\Broadcast.dll
name: Broadcast.dll
- path: src\Broadcast.Dashboard\bin\Release\netstandard2.0\Broadcast.Dashboard.dll
name: Broadcast.Dashboard.dll
# pushing all *.nupkg files in directory
- path: '.\*.nupkg'