2018-04-21 21:18:13 +00:00
|
|
|
version: '0.3.0.{build}'
|
2017-05-07 21:17:34 +00:00
|
|
|
|
2018-01-28 08:08:31 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2017-05-07 21:17:34 +00:00
|
|
|
assembly_info:
|
|
|
|
patch: true
|
|
|
|
file: 'src\NzbDrone.Common\Properties\SharedAssemblyInfo.cs'
|
|
|
|
assembly_version: '{version}'
|
|
|
|
assembly_file_version: '{version}'
|
|
|
|
assembly_informational_version: '{version}-rc1'
|
|
|
|
|
|
|
|
environment:
|
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
2018-01-24 04:40:07 +00:00
|
|
|
nodejs_version: "6"
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2018-01-24 04:45:40 +00:00
|
|
|
- ps: Install-Product node $env:nodejs_version
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
build_script:
|
2017-12-31 18:53:16 +00:00
|
|
|
- C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./build.sh
|
|
|
|
|
|
|
|
after_build:
|
|
|
|
- C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./appveyor-package.sh
|
|
|
|
- ps: Get-ChildItem .\_artifacts\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
- ps: Get-ChildItem .\_artifacts\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
- ps: Get-ChildItem .\_artifacts\*.tar.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
|
|
|
|
test_script:
|
2018-01-24 04:40:07 +00:00
|
|
|
- node --version
|
|
|
|
- yarn --version
|
2017-12-31 18:53:16 +00:00
|
|
|
- C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./test.sh Windows Unit
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
cache:
|
2018-01-24 04:40:07 +00:00
|
|
|
- '%USERPROFILE%\.nuget\packages'
|
|
|
|
- node_modules -> package.json
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
|
2017-11-25 05:01:51 +00:00
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
2017-05-07 21:17:34 +00:00
|
|
|
on_failure:
|
|
|
|
- ps: Get-ChildItem .\_artifacts\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
- ps: Get-ChildItem .\_artifacts\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
- ps: Get-ChildItem .\_artifacts\*.tar.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
|
|
|
|
only_commits:
|
|
|
|
files:
|
|
|
|
- src/
|
|
|
|
- osx/
|
|
|
|
- gulp/
|
|
|
|
- logo/
|
|
|
|
- setup/
|
2018-01-28 08:08:31 +00:00
|
|
|
- frontend/
|
2017-05-07 21:17:34 +00:00
|
|
|
- appveyor.yml
|
2017-12-22 04:00:16 +00:00
|
|
|
- build-appveyor.cake
|