/
appveyor.yml
35 lines (33 loc) · 801 Bytes
/
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
# common configuration for ALL branches
image: Visual Studio 2017
version: '1.6.{build}'
init:
- git config --global core.autocrlf true
build_script:
- ps: .\build.ps1 -Target Test --BuildVersion=$($env:appveyor_build_version)
test: off
artifacts:
- path: BuildArtifacts\*.nupkg
name: NuGet package
cache:
- packages -> **\packages.config
- tools -> build.cake
skip_commits:
files:
- license.txt
- readme.md
- how-to-build.md
# here we are going to override common configuration
for:
# master branch
-
branches:
only:
- master
build_script:
- ps: .\build.ps1 -Target Publish --BuildVersion=$($env:appveyor_build_version)
deploy:
- provider: NuGet
artifact: /NuGet/
api_key:
secure: upxyd5Rm3XitdEGuHYbU0O75xlG5Lu2EgLnqRZ+HiHOROLZFEo6Dw+6Vqp17wuas