IF.Lastfm/appveyor.yml

104 lines
2.3 KiB
YAML
Raw Normal View History

-
branches:
only:
- master
2015-09-01 02:14:11 +01:00
- /v.*/
2018-07-01 19:59:52 +01:00
version: 1.1.999.{build}
image: Visual Studio 2017
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
configuration: Release
install:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
before_build:
- ps: nuget restore IF.Lastfm.sln
build:
project: IF.Lastfm.sln
test_script:
- ps: .\run-tests.ps1
after_test:
2015-05-01 10:50:01 +01:00
- ps: pushd .nuget
- ps: .\pack.ps1 -versionSuffix prerelease
- ps: popd
- ps: cp .\.nuget\*.nupkg .
artifacts:
2018-04-23 03:23:49 +01:00
- path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll
name: IF.Lastfm.Core.dll
2018-04-23 03:23:49 +01:00
- path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll
name: IF.Lastfm.SQLite.dll
2014-11-21 00:57:07 +00:00
- path: '\*-prerelease.nupkg'
notifications:
- provider: Webhook # ping Gitter ticker
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
#---------------------------------------------------------------
-
branches:
only:
- release
# don't forget to update this!
2018-07-01 19:59:52 +01:00
version: 1.1.1.{build}
image: Visual Studio 2017
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
configuration: Release
install:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
before_build:
- ps: nuget restore IF.Lastfm.sln
build:
project: IF.Lastfm.sln
test_script:
- ps: .\run-tests.ps1
after_test:
2015-05-01 10:50:01 +01:00
- ps: pushd .nuget
2015-05-01 11:53:30 +01:00
- ps: .\pack.ps1
2015-05-01 10:50:01 +01:00
- ps: popd
- ps: cp .\.nuget\*.nupkg .
artifacts:
2018-04-23 03:23:49 +01:00
- path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll
name: IF.Lastfm.Core.dll
2018-04-23 03:23:49 +01:00
- path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll
name: IF.Lastfm.SQLite.dll
2014-11-21 00:57:07 +00:00
- path: '\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: b4Q8KLmOfeQHZNGbTf4OYud3pvi3aR4rKE35dcLHYBTBaQwc9QeoIkDoG13Jpbxs
artifact: /.*\.nupkg/
notifications:
- provider: Webhook # ping Gitter ticker
url: https://webhooks.gitter.im/e/aa615fb57d382a430815