-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
70 lines (54 loc) · 1.71 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
# 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 #
#---------------------------------#
# version format
# version: 1.0.{build}
# you can use {branch} name in version format too
version: 1.0.{build}-{branch}
image: Visual Studio 2019
# branches to build
branches:
# whitelist
only:
- master
# blacklist
except:
- gh-pages
# Do not build on tags (GitHub and BitBucket)
skip_tags: true
# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: false
# Skipping commits with particular message or from specific user
skip_commits:
# Skipping commits affecting specific files (GitHub only). More details here: /docs/appveyor-yml
files:
- '**/*.md'
#---------------------------------#
# environment configuration #
#---------------------------------#
# scripts to run before build
before_build:
- dotnet --info
- dotnet 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:
- dotnet build -v n /p:TreatWarningsAsErrors=True
# to disable automatic builds
#build: off
#---------------------------------#
# tests configuration #
#---------------------------------#
# to run your custom scripts instead of automatic tests
test_script:
- dotnet test
# to disable automatic tests
#test: off