Merge build configs

This commit is contained in:
Rikki Tooley 2018-07-01 20:41:13 +01:00
parent c44deb47d0
commit fe5bfadeb3

View File

@ -1,14 +1,22 @@
- # AppVeyor config for https://github.com/inflatablefriends/lastfm
branches:
only:
- master
- /v.*/
version: 1.1.999.{build} configuration: Release
image: Visual Studio 2017 install:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
dotnet_csproj: before_build:
- ps: nuget restore IF.Lastfm.sln
build:
project: IF.Lastfm.sln
test_script:
- ps: .\run-tests.ps1
image: Visual Studio 2017
dotnet_csproj:
patch: true patch: true
file: '**\*.csproj' file: '**\*.csproj'
version: '{version}' version: '{version}'
@ -17,19 +25,20 @@
file_version: '{version}' file_version: '{version}'
informational_version: '{version}' informational_version: '{version}'
configuration: Release notifications:
- provider: Webhook # ping Gitter ticker
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
install: #---------------------------------------------------------------
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
before_build: for:
- ps: nuget restore IF.Lastfm.sln -
branches:
only:
- master
- /v.*/
build: version: 1.1.999.{build}
project: IF.Lastfm.sln
test_script:
- ps: .\run-tests.ps1
after_test: after_test:
- ps: pushd .nuget - ps: pushd .nuget
@ -44,13 +53,7 @@
name: IF.Lastfm.SQLite.dll name: IF.Lastfm.SQLite.dll
- path: '\*-prerelease.nupkg' - path: '\*-prerelease.nupkg'
notifications: -
- provider: Webhook # ping Gitter ticker
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
#---------------------------------------------------------------
-
branches: branches:
only: only:
- release - release
@ -58,31 +61,6 @@
# don't forget to update this! # don't forget to update this!
version: 1.1.1.{build} version: 1.1.1.{build}
image: Visual Studio 2017
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
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: after_test:
- ps: pushd .nuget - ps: pushd .nuget
- ps: .\pack.ps1 - ps: .\pack.ps1
@ -101,7 +79,3 @@
api_key: api_key:
secure: b4Q8KLmOfeQHZNGbTf4OYud3pvi3aR4rKE35dcLHYBTBaQwc9QeoIkDoG13Jpbxs secure: b4Q8KLmOfeQHZNGbTf4OYud3pvi3aR4rKE35dcLHYBTBaQwc9QeoIkDoG13Jpbxs
artifact: /.*\.nupkg/ artifact: /.*\.nupkg/
notifications:
- provider: Webhook # ping Gitter ticker
url: https://webhooks.gitter.im/e/aa615fb57d382a430815