forked from GitDepend/GitDepend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (37 loc) · 1.07 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
# Build worker image (VM template)
image: Visual Studio 2015
version: '{build}'
# enable patching of AssemblyInfo.* files
assembly_info:
patch: false
build_script:
- cmd: make.bat debug
- cmd: make.bat release
skip_tags: true
# 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
artifacts:
- path: 'artifacts\NuGet\Debug\*.nupkg'
- path: 'artifacts\NuGet\Debug\Symbols\*.nupkg'
- path: 'artifacts\Chocolatey\Debug\*.nupkg'
- path: 'artifacts\NuGet\Release\*.nupkg'
- path: 'artifacts\NuGet\Release\Symbols\*.nupkg'
- path: 'artifacts\Chocolatey\Release\*.nupkg'
deploy:
- provider: Environment
name: nuget.org (pre-release)
on:
branch: 'release/*'
- provider: Environment
name: chocolatey.org (pre-release)
on:
branch: 'release/*'
- provider: Environment
name: nuget.org
on:
branch: master
- provider: Environment
name: chocolatey.org
on:
branch: master