-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
87 lines (59 loc) · 2.29 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
# 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}
# branches to build
branches:
# blacklist
except:
- develop
- 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
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# Maximum number of concurrent jobs for the project
max_jobs: 1
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf false
#---------------------------------#
# build configuration #
#---------------------------------#
# to run your custom scripts instead of automatic MSBuild
build_script: msbuild entrypoint.msbuild /t:build /v:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
#---------------------------------#
# tests configuration #
#---------------------------------#
# to run your custom scripts instead of automatic tests
test_script: msbuild entrypoint.msbuild /t:test /v:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
# pushing entire folder as a zip archive
- path: 'build\logs'
# pushing all *.nupkg files in build directory recursively
- path: 'build\deploy\*.nupkg'
#---------------------------------#
# deployment configuration #
#---------------------------------#
# to run your custom scripts instead of provider deployments
deploy_script:
# to disable deployment
#deploy: off