-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
56 lines (42 loc) · 1.43 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
#---------------------------------#
# general configuration #
#---------------------------------#
environment:
nuget_api_key:
secure: B0IeQgSXGnO/nWPGIoTWFxwZarJw+9WLLbDXzxvM+kerhF3r5kZv8QmFFGKc5LTo
# version format
version: 0.1.{build}
# Build worker image (VM template)
image: Visual Studio 2017
# clone directory
clone_folder: c:\projects\VL.2D.DollarQ
branches:
only:
- master
only_commits:
message: /build/
install:
- nuget sources add -Name vvvv -Source http://teamcity.vvvv.org/guestAuth/app/nuget/feed/_Root/default/v3/index.json
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
#---------------------------------#
# build configuration #
#---------------------------------#
build_script:
- nuget pack appveyor\VL.2D.DollarQ.nuspec -Version %APPVEYOR_BUILD_VERSION%-alpha
- nuget setApiKey %nuget_api_key%
- nuget push C:\projects\VL.2D.DollarQ\VL.2D.DollarQ.%APPVEYOR_BUILD_VERSION%-alpha.nupkg -Source https://api.nuget.org/v3/index.json
artifacts:
- path: '*.nupkg'
type: NuGetPackage
#---------------------------------#
# notifications #
#---------------------------------#
test: off
notifications:
# Email
- provider: Email
to:
subject: 'VL.2D.DollarQ Build {{status}}' # optional
message: "{{message}}, {{commitId}}, ..." # optional
on_build_status_changed: true