mirror of https://github.com/SixLabors/ImageSharp
3 changed files with 102 additions and 7 deletions
@ -0,0 +1,55 @@ |
|||||
|
# 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. |
||||
|
|
||||
|
#---------------------------------# |
||||
|
# build configuration # |
||||
|
#---------------------------------# |
||||
|
|
||||
|
# to run your custom scripts instead of automatic MSBuild |
||||
|
build_script: |
||||
|
- ps: Import-Module .\build\psake.psm1 |
||||
|
- ps: Invoke-Psake .\build\build.ps1 -properties @{"BuildNumber"=$env:APPVEYOR_BUILD_NUMBER} |
||||
|
|
||||
|
#---------------------------------# |
||||
|
# 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} |
||||
Loading…
Reference in new issue