From 6e80a8f83c48767d3713ff2c8f97cb117c3766cd Mon Sep 17 00:00:00 2001 From: mattman86 Date: Wed, 12 Apr 2017 16:07:49 -0600 Subject: [PATCH] Create appveyor.yml --- appveyor.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..94dc18972 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,51 @@ +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 + +install: + - git submodule update --init --recursive + +build_script: + - ps: ./build-appveyor.ps1 + +# test: off +test: + assemblies: + - '_tests\*Test.dll' + categories: + except: + - IntegrationTest + - AutomationTest + +artifacts: + - path: '_artifacts\*.zip' + - path: '_artifacts\*.exe' + - path: '_artifacts\*.tar.gz' + +cache: + - '%USERPROFILE%\.nuget\packages' + - node_modules + +pull_requests: + do_not_increment_build_number: true + +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/ + - appveyor.yml + - build-appveyor.cake