From dd704f6937c4bf382c1fa3869e7600b427acb825 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 23 Sep 2014 13:46:47 +0300 Subject: [PATCH] Various AppVeyor updates: 1. fix `CONFIGURATION` environment variable 2. set verbosity to minimal and specify the solution file 3. enable build cache 4. enable fast_finish Close #275 by merging it. --- appveyor.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 17eac3003..ca6e50ad2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,19 @@ +# Variables +configuration: +# - Debug + - Release + +# build options +build: + project: src\SubtitleEdit.sln + verbosity: minimal + +# custom test command test_script: - - set - - vstest.console /logger:Appveyor /Settings:"%APPVEYOR_BUILD_FOLDER%\src\Local.testsettings" %APPVEYOR_BUILD_FOLDER%\src\Test\bin\$(configuration)\Test.dll + - vstest.console /logger:Appveyor /Settings:"%APPVEYOR_BUILD_FOLDER%\src\Local.testsettings" %APPVEYOR_BUILD_FOLDER%\src\Test\bin\%CONFIGURATION%\Test.dll + +cache: + - src\packages # preserve the "src\packages" directory + +matrix: + fast_finish: true