diff options
author | RJ Ryan <rryan@mixxx.org> | 2016-11-24 10:14:22 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2016-11-24 10:14:22 -0500 |
commit | cfba1c495c2f9debcccc79377fa87ee64246cc38 (patch) | |
tree | 8c56d67448f5c486651676236e8417e138989712 /appveyor.yml | |
parent | c629504cfd9403c08ddbda2c9965f7782a2db360 (diff) |
Record test results using Appveyor's testresults API.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 3492791473..548d329bee 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -41,7 +41,7 @@ test_script: - echo *** Testing # Calling mixxx-test under bash to have standard output # and use stdbuf to unbuffer standard & error output - - bash -c "stdbuf -oL -eL %distdir%/mixxx-test.exe 2>&1" + - bash -c "stdbuf -oL -eL %distdir%/mixxx-test.exe --gtest_output=xml:test_results.xml 2>&1" - timeout 5 > NUL - bash -c "stdbuf -oL -eL %distdir%/mixxx-test.exe --benchmark 2>&1" - timeout 5 > NUL @@ -53,6 +53,7 @@ on_success: on_failure: - echo "*** FAILURE ***" on_finish: + - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test_results.xml)) # Uncomment the following line if you don't want the build VM to be destroyed # and be able to RDP on it until a special “lock” file on VM desktop is deleted # The RDP session is limited by overall build time (60 min). |