2018-06-03 15:53:16 +03:00
|
|
|
version: "{build}"
|
2017-03-12 16:57:28 +03:00
|
|
|
image: Visual Studio 2017
|
2017-03-08 11:09:26 +03:00
|
|
|
|
2017-01-16 21:44:39 +03:00
|
|
|
install:
|
2017-03-08 11:05:27 +03:00
|
|
|
|
2017-01-16 21:44:39 +03:00
|
|
|
before_build:
|
2019-01-25 04:35:02 +03:00
|
|
|
- git submodule -q update --init
|
2017-03-08 10:56:23 +03:00
|
|
|
- cmd: dotnet --version
|
2017-03-08 11:05:27 +03:00
|
|
|
|
2017-01-16 21:44:39 +03:00
|
|
|
build_script:
|
2017-01-16 22:04:43 +03:00
|
|
|
- cmd: build.cmd
|
2017-01-16 22:08:20 +03:00
|
|
|
- cmd: tests\CodeCoverage\CodeCoverage.cmd
|
2017-01-16 22:04:43 +03:00
|
|
|
|
2017-01-16 21:44:39 +03:00
|
|
|
after_build:
|
2018-05-24 23:50:54 +03:00
|
|
|
- cmd: appveyor PushArtifact "artifacts\SixLabors.Shapes.%APPVEYOR_BUILD_VERSION%.nupkg"
|
|
|
|
- cmd: appveyor PushArtifact "artifacts\SixLabors.Shapes.Text.%APPVEYOR_BUILD_VERSION%.nupkg"
|
2017-01-16 21:44:39 +03:00
|
|
|
|
|
|
|
deploy:
|
2017-01-16 22:04:43 +03:00
|
|
|
- provider: NuGet
|
2017-01-28 21:47:21 +03:00
|
|
|
server: https://www.myget.org/F/sixlabors/api/v2/package
|
|
|
|
symbol_server: https://www.myget.org/F/sixlabors/symbols/api/v2/package
|
2017-01-16 22:04:43 +03:00
|
|
|
api_key:
|
2017-06-24 17:45:08 +03:00
|
|
|
secure: V/lEHP0UeMWIpWd0fiNlY2IgbCnJKQlGdRksECdJbOBdaE20Fl0RNL7WyqHe02o4
|
2017-01-16 22:04:43 +03:00
|
|
|
artifact: /.*\.nupkg/
|
|
|
|
on:
|
|
|
|
branch: master
|
2017-06-27 16:56:28 +03:00
|
|
|
|
2017-04-03 18:38:59 +03:00
|
|
|
# prevent the double build when a branch has an active PR
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
|
|
|
test: off
|