Update appveyor.yml

This commit is contained in:
Matthias Bartelmeß
2016-07-24 22:52:41 +02:00
committed by GitHub
parent 0e270c72bd
commit dae61ded38

View File

@@ -26,11 +26,10 @@ build_script:
"%PYTHON%" setup.py bdist_wheel
"%PIP%" install .
on_failure:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
test_script:
- ps: >-
& $env:PYTHON setup.py nosetests --with-xunit
cp build\Release\git2.dll .
try { & $env:PYTHON setup.py nosetests --with-xunit }
# 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))