Upload junit test results upon tests completion
@@ -11,9 +11,13 @@ install:
- "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
- "SET PYTHON=\"C:\\Program Files\\Python\""
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+ - "python -m pip install tox"
build: off
-test_script:
- - "python -m pip install tox"
- - "tox"
+test_script: tox
+
+after_test:
+ - ps: |
+ $wc = New-Object 'System.Net.WebClient'
+ $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\junit-test-results.xml))
