-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
51 lines (41 loc) · 1.01 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
version: '{build}'
image: Visual Studio 2015
branches:
only:
- master
except:
- /gh-pages.*/
nuget:
disable_publish_on_pr: true
shallow_clone: true
skip_commits:
message: /docs\(.*\):/
files:
- '*.md'
- examples/**
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/install-nuget-3-4-4.ps1'))
- ps: sln\Set-BuildVersion.ps1
build_script:
- ps: sln\Build-Package.ps1
test: off
artifacts:
- path: sln\src\NSpec.VsAdapter\publish\*.nupkg
name: NuGet package
- path: sln\src\NSpec.VsAdapter.Vsix\bin\Release\*.vsix
name: VS extension
deploy:
- provider: NuGet
name: Development
server: https://www.myget.org/F/nspec/api/v2/package
api_key:
secure: fLdJBSqSl6dP8rxk7vNJMYQxGchdEfMpOSF0DxKJJMmyfMaW+0Gx139YA3QxwXWm
skip_symbols: true
on:
branch: master
- provider: NuGet
name: Production
api_key:
secure: yC++3vJi0VQue3koutRC6PWdbN1uuXqXYvaAZTA3SZq6UKuJP5hKx6JhgkdOI8/M
on:
appveyor_repo_tag: true