1
+ # Notes:
2
+ # - Minimal appveyor.yml file is an empty file. All sections are optional.
3
+ # - Indent each level of configuration with 2 spaces. Do not use tabs!
4
+ # - All section names are case-sensitive.
5
+ # - Section names should be unique on each level.
6
+
7
+ # ---------------------------------#
8
+ # general configuration #
9
+ # ---------------------------------#
10
+
11
+ # version format
12
+ version : 1.0.{build}
13
+
14
+ # you can use {branch} name in version format too
15
+ # version: 1.0.{build}-{branch}
16
+
17
+ # branches to build
18
+ branches :
19
+ # whitelist
20
+ only :
21
+ - master
22
+ - develop
23
+
24
+ # Do not build on tags (GitHub and BitBucket)
25
+ skip_tags : true
26
+
27
+ # Start builds on tags only (GitHub and BitBucket)
28
+ skip_non_tags : true
29
+
30
+ # Skipping commits with particular message or from specific user
31
+ skip_commits :
32
+ message : /Created.*\.(png|jpg|jpeg|bmp|gif)/ # Regex for matching commit message
33
+ author : John # Commit author's username, name, email or regexp maching one of these.
34
+
35
+ # Skipping commits affecting specific files (GitHub only). More details here: /docs/appveyor-yml
36
+ # skip_commits:
37
+ # files:
38
+ # - docs/*
39
+ # - '**/*.html'
40
+
41
+ # Including commits affecting specific files (GitHub only). More details here: /docs/appveyor-yml
42
+ # only_commits:
43
+ # files:
44
+ # - Project-A/
45
+ # - Project-B/
46
+
47
+ # Do not build feature branch with open Pull Requests
48
+ skip_branch_with_pr : true
49
+
50
+ # Maximum number of concurrent jobs for the project
51
+ max_jobs : 1
52
+
53
+ # ---------------------------------#
54
+ # environment configuration #
55
+ # ---------------------------------#
56
+
57
+ # Build worker image (VM template)
58
+ image : Visual Studio 2015
59
+
60
+ # scripts that are called at very beginning, before repo cloning
61
+ init :
62
+ - git config --global core.autocrlf input
63
+
64
+
65
+ # set clone depth
66
+ clone_depth : 5 # clone entire repository history if not defined
67
+
68
+ # environment:
69
+ # global:
70
+ # connection_string: server=12;password=13;
71
+ # service_url: https://127.0.0.1:8090
72
+ #
73
+ # matrix:
74
+ # - db: mysql
75
+ # provider: mysql
76
+ #
77
+ # - db: mssql
78
+ # provider: mssql
79
+ # password:
80
+ # secure: $#(JFDA)jQ@#$
81
+
82
+ # this is how to allow failing jobs in the matrix
83
+ matrix :
84
+ fast_finish : true # set this flag to immediately finish build once one of the jobs fails.
85
+
86
+ # build cache to preserve files/folders between builds
87
+ cache :
88
+ - packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
89
+
90
+ # # scripts that run after cloning repository
91
+ # install:
92
+ # # to run script as a PowerShell command prepend it with ps:
93
+ # - ps: nuget restore
94
+
95
+ # enable patching of AssemblyInfo.* files
96
+ assembly_info :
97
+ patch : true
98
+ file : AssemblyInfo.*
99
+ assembly_version : " 1.0.{build}"
100
+ assembly_file_version : " {version}"
101
+ assembly_informational_version : " {version}"
102
+
103
+ # build platform, i.e. x86, x64, Any CPU. This setting is optional.
104
+ platform : Any CPU
105
+
106
+ # to add several platforms to build matrix:
107
+ # platform:
108
+ # - x86
109
+ # - Any CPU
110
+
111
+ # build Configuration, i.e. Debug, Release, etc.
112
+ configuration : Release
113
+
114
+ # to add several configurations to build matrix:
115
+ # configuration:
116
+ # - Debug
117
+ # - Release
118
+
119
+ build :
120
+ parallel : true # enable MSBuild parallel builds
121
+ project : Selenium.Net.sln # path to Visual Studio solution or project
122
+
123
+ # MSBuild verbosity level
124
+ verbosity : minimal
125
+
126
+
127
+ # scripts to run before build
128
+ before_build :
129
+ - ps : nuget restore
130
+
131
+ # scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
132
+ before_package :
133
+
134
+ # scripts to run after build
135
+ after_build :
136
+
137
+ # to run your custom scripts instead of automatic MSBuild
138
+ build_script :
139
+
140
+ # to disable automatic builds
141
+ # build: off
142
+
143
+ # ---------------------------------#
144
+ # tests configuration #
145
+ # ---------------------------------#
146
+
147
+ test :
148
+ assemblies :
149
+ - Selenium.Core.Tests.dll
150
+
151
+ # to run tests from different categories as separate jobs in parallel
152
+ # test:
153
+ # categories:
154
+ # - A # A category common for all jobs
155
+ # - [UI] # 1st job
156
+ # - [DAL, BL] # 2nd job
157
+
158
+ # # scripts to run before tests
159
+ # before_test:
160
+ # - echo script1
161
+ # - ps: Write-Host "script1"
162
+
163
+ # # scripts to run after tests
164
+ # after_test:
165
+
166
+ # # to run your custom scripts instead of automatic tests
167
+ # test_script:
168
+ # - echo This is my custom test script
169
+
170
+ # to disable automatic tests
171
+ # test: off
172
+
173
+
174
+ # ---------------------------------#
175
+ # artifacts configuration #
176
+ # ---------------------------------#
177
+
178
+ # artifacts:
179
+
180
+ # # pushing a single file
181
+ # - path: test.zip
182
+
183
+ # # pushing a single file with environment variable in path and "Deployment name" specified
184
+ # - path: MyProject\bin\$(configuration)
185
+ # name: myapp
186
+
187
+ # # pushing entire folder as a zip archive
188
+ # - path: logs
189
+
190
+ # # pushing all *.nupkg files in build directory recursively
191
+ # - path: '**\*.nupkg'
192
+
193
+ # #---------------------------------#
194
+ # # global handlers #
195
+ # #---------------------------------#
196
+
197
+ # # on successful build
198
+ # on_success:
199
+ # - do something
200
+
201
+ # # on build failure
202
+ # on_failure:
203
+ # - do something
204
+
205
+ # # after build failure or success
206
+ # on_finish:
207
+ # - do something
208
+
209
+
210
+ # ---------------------------------#
211
+ # notifications #
212
+ # ---------------------------------#
213
+
214
+ # notifications:
215
+
216
+ # # Email
217
+ # - provider: Email
218
+ # to:
219
+ # - user1@email.com
220
+ # - user2@email.com
221
+ # subject: 'Build {{status}}' # optional
222
+ # message: "{{message}}, {{commitId}}, ..." # optional
223
+ # on_build_status_changed: true
224
+
225
+ # # HipChat
226
+ # - provider: HipChat
227
+ # auth_token:
228
+ # secure: RbOnSMSFKYzxzFRrxM1+XA==
229
+ # room: ProjectA
230
+ # template: "{message}, {commitId}, ..."
231
+
232
+ # # Slack
233
+ # - provider: Slack
234
+ # incoming_webhook: http://incoming-webhook-url
235
+
236
+ # # ...or using auth token
237
+
238
+ # - provider: Slack
239
+ # auth_token:
240
+ # secure: kBl9BlxvRMr9liHmnBs14A==
241
+ # channel: development
242
+ # template: "{message}, {commitId}, ..."
243
+
244
+ # # Campfire
245
+ # - provider: Campfire
246
+ # account: appveyor
247
+ # auth_token:
248
+ # secure: RifLRG8Vfyol+sNhj9u2JA==
249
+ # room: ProjectA
250
+ # template: "{message}, {commitId}, ..."
251
+
252
+ # # Webhook
253
+ # - provider: Webhook
254
+ # url: http://www.myhook2.com
255
+ # headers:
256
+ # User-Agent: myapp 1.0
257
+ # Authorization:
258
+ # secure: GhD+5xhLz/tkYY6AO3fcfQ==
259
+ # on_build_success: false
260
+ # on_build_failure: true
261
+ # on_build_status_changed: true
0 commit comments