iced/appveyor.yml

30 lines
724 B
YAML

version: x.x.{build}
image: Visual Studio 2017
configuration: Release
before_build:
- cmd: appveyor-retry nuget restore
build:
project: Iced.sln
parallel: true
verbosity: normal
before_package:
- cmd: dotnet pack -c Release
artifacts:
- path: Iced\bin\Release\*.nupkg
name: Iced NuGet Packages
test_script:
- dotnet test -c Release --no-build Iced.UnitTests\Iced.UnitTests.csproj -- RunConfiguration.NoAutoReporters=true
notifications:
- provider: Email
to:
- de4dot@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: false
deploy:
- provider: NuGet
on:
APPVEYOR_REPO_TAG: true
api_key:
secure: en/ChGrnyp08i9CgI/8WXLKhl0OHCpPsuBSRv9wt286kvKlI9P4732egbzq+ycfx