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.
39 lines
1.1 KiB
39 lines
1.1 KiB
version: 0.0.{build}
|
|
image: Visual Studio 2017
|
|
|
|
install:
|
|
- choco install gitversion.portable -pre -y
|
|
|
|
before_build:
|
|
- cmd: dotnet --version
|
|
- ps: gitversion /l console /output buildserver
|
|
|
|
build_script:
|
|
- cmd: build.cmd
|
|
- cmd: tests\CodeCoverage\CodeCoverage.cmd
|
|
|
|
after_build:
|
|
- cmd: appveyor PushArtifact "artifacts\SixLabors.Core.%GitVersion_NuGetVersion%.nupkg"
|
|
|
|
deploy:
|
|
- provider: NuGet
|
|
server: https://www.myget.org/F/sixlabors/api/v2/package
|
|
symbol_server: https://www.myget.org/F/sixlabors/symbols/api/v2/package
|
|
api_key:
|
|
secure: V/lEHP0UeMWIpWd0fiNlY2IgbCnJKQlGdRksECdJbOBdaE20Fl0RNL7WyqHe02o4
|
|
artifact: /.*\.nupkg/
|
|
on:
|
|
branch: master
|
|
- provider: NuGet
|
|
server: https://www.myget.org/F/sixlabors-unstable/api/v2/package
|
|
symbol_server: https://www.myget.org/F/sixlabors-unstable/symbols/api/v2/package
|
|
api_key:
|
|
secure: V/lEHP0UeMWIpWd0fiNlY2IgbCnJKQlGdRksECdJbOBdaE20Fl0RNL7WyqHe02o4
|
|
artifact: /.*\.nupkg/
|
|
on:
|
|
branch: develop
|
|
|
|
# prevent the double build when a branch has an active PR
|
|
skip_branch_with_pr: true
|
|
|
|
test: off
|
|
|