diff --git a/appveyor.yml b/appveyor.yml index 6d59c9b60..29b50f54e 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))