forked from chroma-sdk/Colore
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
173 lines (134 loc) · 3.7 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
-
branches:
only:
- master
version: 1.0.{build}
skip_tags: true
install:
- nuget restore
configuration: Release
platform:
- x86
- x64
- Any CPU
matrix:
fast_finish: true
environment:
COVERALLS_REPO_TOKEN:
secure: /52HsSigAGXgmKFcFuNjgC3PPMIUkarMod0zxTDesVS5VNpKCyeqdBY3Ssy3R3Mg
assembly_info:
patch: true
file: Corale.Colore\Properties\AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}-release'
nuget:
disable_publish_on_pr: true
build:
project: Corale.Colore.sln
verbosity: normal
after_build:
- ps: .\create_artifacts.ps1 -Platform "$Env:PLATFORM" -Configuration "$Env:CONFIGURATION"
after_test:
- ps: .\report_coverage.ps1 -Platform "$Env:PLATFORM" -Configuration "$Env:CONFIGURATION"
artifacts:
- path: colore_x86.zip
name: colore_x86
- path: colore_x64.zip
name: colore_x64
- path: colore_anycpu.zip
name: colore_anycpu
deploy:
- provider: GitHub
release: v$(appveyor_build_version)
description: Automatic release created by AppVeyor.
auth_token:
secure: ydn12l0oWmrQy0gZiWsLypa0kzYDBjVqAzlrrZ1+s97QRsCYkK3aA4KigRtC4CVm
artifact: colore_x86, colore_x64, colore_anycpu, nuget_package
draft: true
prerelease: false
on:
branch: master
appveyor_repo_tag: false
configuration: Release
- provider: NuGet
api_key:
secure: 0kgF06I+L8BAOvMagk7Muw+mkYQnZXAh+HO0S4Rnbr4BSuKWVCD5lBd5N4mpyABJ
artifact: nuget_package
on:
branch: master
appveyor_repo_tag: false
platform: Any CPU
configuration: Release
-
branches:
only:
- develop
version: 0.0.{build}
skip_tags: true
install:
- nuget restore
configuration: Debug
platform:
- x86
- x64
- Any CPU
matrix:
fast_finish: true
environment:
COVERALLS_REPO_TOKEN:
secure: /52HsSigAGXgmKFcFuNjgC3PPMIUkarMod0zxTDesVS5VNpKCyeqdBY3Ssy3R3Mg
assembly_info:
patch: true
file: Corale.Colore\Properties\AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}-{branch}'
nuget:
disable_publish_on_pr: true
build:
project: Corale.Colore.sln
verbosity: normal
after_build:
- ps: .\create_artifacts.ps1 -Platform "$Env:PLATFORM" -Configuration "$Env:CONFIGURATION"
after_test:
- ps: .\report_coverage.ps1 -Platform "$Env:PLATFORM" -Configuration "$Env:CONFIGURATION"
artifacts:
- path: Corale.Colore\bin\x86\$(configuration)\Corale.Colore.dll
name: colore_x86_dll
- path: Corale.Colore\bin\x64\$(configuration)\Corale.Colore.dll
name: colore_x64_dll
- path: Corale.Colore\bin\$(configuration)\Corale.Colore.dll
name: colore_anycpu_dll
- path: colore_x86.zip
name: colore_x86
- path: colore_x64.zip
name: colore_x64
- path: colore_anycpu.zip
name: colore_anycpu
-
version: 0.0.{build}
skip_tags: true
install:
- nuget restore
configuration: Debug
platform: Any CPU
matrix:
fast_finish: true
environment:
COVERALLS_REPO_TOKEN:
secure: /52HsSigAGXgmKFcFuNjgC3PPMIUkarMod0zxTDesVS5VNpKCyeqdBY3Ssy3R3Mg
TESTS_DLL: Corale.Colore.Tests\bin\x64\Debug\Corale.Colore.Tests.dll
assembly_info:
patch: true
file: Corale.Colore\Properties\AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}-{branch}'
nuget:
disable_publish_on_pr: true
build:
project: Corale.Colore.sln
verbosity: normal
after_test:
- ps: .\report_coverage.ps1 -Platform "$Env:PLATFORM" -Configuration "$Env:CONFIGURATION"