2018-09-11 13:03:20 +00:00
|
|
|
version: x.x.{build}
|
2019-05-30 15:27:02 +00:00
|
|
|
image: Visual Studio 2019
|
2018-09-11 13:03:20 +00:00
|
|
|
configuration: Release
|
2019-06-16 10:33:23 +00:00
|
|
|
install:
|
|
|
|
- cmd: >-
|
|
|
|
appveyor DownloadFile https://dot.net/v1/dotnet-install.ps1
|
|
|
|
|
|
|
|
powershell -NoLogo -NoProfile -File dotnet-install.ps1 -Version 2.2.107 -InstallDir "%ProgramFiles(x86)%\dotnet" -Architecture x86
|
2018-09-11 13:03:20 +00:00
|
|
|
before_build:
|
|
|
|
- cmd: appveyor-retry nuget restore
|
|
|
|
build:
|
|
|
|
project: Iced.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: normal
|
2019-05-31 04:27:59 +00:00
|
|
|
publish_nuget_symbols: true
|
|
|
|
use_snupkg_format: true
|
2018-09-11 17:03:48 +00:00
|
|
|
before_package:
|
2019-02-15 18:58:18 +00:00
|
|
|
- cmd: msbuild /t:Pack /p:Configuration=Release
|
2018-09-11 17:03:48 +00:00
|
|
|
artifacts:
|
2019-01-31 22:27:51 +00:00
|
|
|
- path: Iced\bin\Release\*.*nupkg
|
2018-09-11 17:03:48 +00:00
|
|
|
name: Iced NuGet Packages
|
|
|
|
test_script:
|
2019-06-16 10:33:23 +00:00
|
|
|
- '"C:\Program Files\dotnet\dotnet.exe" test -c Release --no-build Iced.UnitTests\Iced.UnitTests.csproj -- RunConfiguration.NoAutoReporters=true RunConfiguration.TargetPlatform=X64'
|
|
|
|
- '"C:\Program Files (x86)\dotnet\dotnet.exe" test -c Release --no-build Iced.UnitTests\Iced.UnitTests.csproj -- RunConfiguration.NoAutoReporters=true RunConfiguration.TargetPlatform=X86'
|
2018-09-11 13:03:20 +00:00
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- de4dot@gmail.com
|
|
|
|
on_build_success: false
|
|
|
|
on_build_failure: true
|
2018-09-21 17:01:55 +00:00
|
|
|
on_build_status_changed: false
|
|
|
|
deploy:
|
|
|
|
- provider: NuGet
|
|
|
|
on:
|
|
|
|
APPVEYOR_REPO_TAG: true
|
|
|
|
api_key:
|
|
|
|
secure: en/ChGrnyp08i9CgI/8WXLKhl0OHCpPsuBSRv9wt286kvKlI9P4732egbzq+ycfx
|