2017-01-16 21:44:39 +03:00
|
|
|
|
|
|
|
version: 0.0.{build}
|
|
|
|
install:
|
2017-01-16 22:04:43 +03:00
|
|
|
- choco install gitversion.portable -pre -y
|
2017-01-16 21:44:39 +03:00
|
|
|
|
|
|
|
before_build:
|
2017-01-16 22:04:43 +03:00
|
|
|
- ps: gitversion /l console /output buildserver
|
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:
|
|
|
|
- cmd: appveyor PushArtifact "artifacts\Shaper2D.%GitVersion_NuGetVersion%.nupkg"
|
|
|
|
|
|
|
|
deploy:
|
2017-01-16 22:04:43 +03:00
|
|
|
- provider: NuGet
|
|
|
|
server: https://www.myget.org/F/shaper2d/api/v2/package
|
2017-01-16 22:08:20 +03:00
|
|
|
symbol_server: https://www.myget.org/F/shaper2d/api/v2/package # https://nuget.symbolsource.org/MyGet/shaper2d
|
2017-01-16 22:04:43 +03:00
|
|
|
api_key:
|
|
|
|
secure: SyrSERGrjkK21TSCsHtqke5279SMxXCg2NXKjR2qaErP0khEplwxPwE8Ch5bxzyf
|
|
|
|
artifact: /.*\.nupkg/
|
|
|
|
on:
|
|
|
|
branch: master
|
2017-01-16 21:44:39 +03:00
|
|
|
|
|
|
|
test: off
|