forked from koepalex/code-searcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
105 lines (80 loc) · 2.5 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
#---------------------------------#
# general configuration #
#---------------------------------#
# branches to build
branches:
# whitelist
only:
- master
- dev-
# Maximum number of concurrent jobs for the project
max_jobs: 1
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2019
# build cache to preserve files/folders between builds
cache:
- packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
- '%LocalAppData%\NuGet\Cache' # NuGet < v3
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
project: CodeSearcher.sln # path to Visual Studio solution or project
# MSBuild verbosity level - quiet|minimal|normal|detailed
verbosity: normal
# scripts to run before build
before_build:
- nuget restore
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
before_package:
# scripts to run after build
after_build:
# to run your custom scripts instead of automatic MSBuild
build_script:
# to disable automatic builds
#build: off
#---------------------------------#
# tests configuration #
#---------------------------------#
# to run tests again only selected assemblies and/or categories
test:
assemblies:
only:
- CodeSearcher.Tests.dll
categories:
only:
- SafeForCI
except:
- NotSafeForCI
# scripts to run before tests
before_test:
# scripts to run after tests
after_test:
# to run your custom scripts instead of automatic tests
#test_script:
# to disable automatic tests
#test: off
#---------------------------------#
# notifications #
#---------------------------------#
#notifications:
# Email
# - provider: Email
# to:
# - user1@email.com
# - user2@email.com
# subject: 'Build {{status}}' # optional
# message: "{{message}}, {{commitId}}, ..." # optional
# on_build_status_changed: true
# Slack
# - provider: Slack
# incoming_webhook: http://incoming-webhook-url