forked from JimBobSquarePants/ImageProcessor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (45 loc) · 1.69 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
# http://www.appveyor.com/docs/appveyor-yml
#---------------------------------#
# general configuration #
#---------------------------------#
# branches to build
branches:
# blacklist
except:
- gh-pages
#---------------------------------#
# environment configuration #
#---------------------------------#
# Operating system (build VM template)
os: Windows Server 2012
# this is how to allow failing jobs in the matrix
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
environment:
COVERALLS_REPO_TOKEN:
secure: 1hvfHFO3qtGTcwB+AnCGYsn0az0j9MzAux5hee5CFeyRJ+lWut0LjnyqvsI/5Pfa
#---------------------------------#
# build configuration #
#---------------------------------#
# to run your custom scripts instead of automatic MSBuild
before_build:
- ps: Import-Module .\build\psake.psm1
build_script:
- ps: Invoke-Psake .\build\build.ps1 -properties @{"BuildNumber"=$env:APPVEYOR_BUILD_NUMBER;"AppVeyor"=$env:APPVEYOR;"CoverallsRepoToken"=$env:COVERALLS_REPO_TOKEN}
#---------------------------------#
# tests configuration #
#---------------------------------#
# to disable automatic tests (they're included in the build process)
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: build\_BuildOutput\NuGets\*.nupkg
#---------------------------------#
# global handlers #
#---------------------------------#
# on successful build
on_success:
- ps: Import-Module .\build\psake.psm1
- ps: Invoke-Psake .\build\build.ps1 Publish-Nuget -properties @{"NugetApiKey"=$env:APIKEY;"NugetSource"=$env:SOURCE}