-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
85 lines (64 loc) · 2.19 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
# Ref.: http://www.appveyor.com/docs/appveyor-yml
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
#---------------------------------#
# environment configuration #
#---------------------------------#
# set clone depth
clone_depth: 1 # clone entire repository history if not defined
# build cache to preserve files/folders between builds
cache:
- src\packages -> src\**\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
publish_nuget: true # package projects with .nuspec files and push to artifacts
# scripts to run before build
before_build:
- nuget restore src\
#---------------------------------#
# tests configuration #
#---------------------------------#
test:
assemblies:
- '**\*.Tests.dll'
categories:
except:
- Ignore
- Skip
- NoAutoRun
#---------------------------------#
# artifacts configuration #
#---------------------------------#
#---------------------------------#
# deployment configuration #
#---------------------------------#
#---------------------------------#
# global handlers #
#---------------------------------#
#---------------------------------#
# notifications #
#---------------------------------#
notifications:
# Email
- provider: Email
to:
on_build_success: false
on_build_failure: true
on_build_status_changed: true
# GitHubPullRequest
- provider: GitHubPullRequest
on_build_success: false
on_build_failure: true
on_build_status_changed: true