From da59cb1c9289ca1397fa907e4d419cebc91d4743 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Tue, 18 Oct 2016 12:40:05 +0300 Subject: [PATCH] appveyor.yml Attempt to fix test failure reporting https://www.appveyor.com/docs/build-configuration/#script-blocks-in-build-configuration --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 6d59c9b..29b50f5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,6 +30,7 @@ test_script: - ps: | cp build\Release\git2.dll . &$env:PYTHON setup.py nosetests --with-xunit + if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } # upload results to AppVeyor $wc = New-Object 'System.Net.WebClient' $wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\nosetests.xml))