2019-05-11 01:26:54 +00:00
|
|
|
version: '0.6.2.{build}'
|
2017-05-07 21:17:34 +00:00
|
|
|
|
2019-03-12 00:38:14 +00:00
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
|
|
|
- Ubuntu1804
|
2018-01-28 08:08:31 +00:00
|
|
|
|
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
|
2019-03-12 00:38:14 +00:00
|
|
|
nodejs_version: "10"
|
2019-03-26 15:06:35 +00:00
|
|
|
SENTRY_AUTH_TOKEN:
|
2019-03-27 01:34:40 +00:00
|
|
|
secure: dIzaGkyqP8JefC+GyXH2RtBHCufpzegoJnxvwGenCsMZNgaVbnoNo4ZMnPY2WYpstCcdXmZb7hbPYmu4FRkKQ8xDQ34YNGlKRKnlFuOQoq8=
|
2019-03-26 15:06:35 +00:00
|
|
|
SENTRY_ORG: "lidarr"
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2019-03-12 00:38:14 +00:00
|
|
|
- cmd: powershell Install-Product node $env:nodejs_version
|
|
|
|
- sh: nvm install $nodejs_version
|
|
|
|
- sh: sudo apt update
|
|
|
|
- sh: sudo apt install -y libchromaprint-tools
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
build_script:
|
2019-03-12 00:38:14 +00:00
|
|
|
- cmd: C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./build.sh
|
|
|
|
- sh: ./build.sh
|
2017-12-31 18:53:16 +00:00
|
|
|
|
|
|
|
after_build:
|
2019-03-12 00:38:14 +00:00
|
|
|
- cmd: C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./appveyor-package.sh
|
|
|
|
- sh: ./appveyor-package.sh
|
2017-12-31 18:53:16 +00:00
|
|
|
- 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
|
2019-03-12 00:38:14 +00:00
|
|
|
- cmd: C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./test.sh Windows Unit
|
|
|
|
- sh: ./test.sh Linux Unit
|
|
|
|
- sh: find "$APPVEYOR_BUILD_FOLDER" -type f -name 'myresults.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/nunit3/$APPVEYOR_JOB_ID"
|
2017-05-07 21:17:34 +00:00
|
|
|
|
|
|
|
cache:
|
2018-01-24 04:40:07 +00:00
|
|
|
- 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
|
2018-06-08 01:13:58 +00:00
|
|
|
- build.sh
|
|
|
|
- test.sh
|
2018-08-08 00:57:15 +00:00
|
|
|
- package.json
|
2018-06-08 01:13:58 +00:00
|
|
|
- appveyor-package.sh
|