mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
55 lines
1.5 KiB
# 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}
|
|
|