diff options
author | Sebastien Blaisot <sebastien@blaisot.org> | 2016-11-24 22:11:15 +0100 |
---|---|---|
committer | Sebastien Blaisot <sebastien@blaisot.org> | 2016-11-24 22:11:15 +0100 |
commit | 4ed1641951c65dad9ec576503a4b5a717b9b8bbb (patch) | |
tree | bab3e86e79ca4452effaabb8b0e454a5b56ef406 /appveyor.yml | |
parent | f725b9a296ba1234f7fff10fcfc2c12ca060da3d (diff) |
Appveyor: only upload test results when test have run
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 548d329bee..b9d4dc2c8f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,6 +45,8 @@ test_script: - timeout 5 > NUL - bash -c "stdbuf -oL -eL %distdir%/mixxx-test.exe --benchmark 2>&1" - timeout 5 > NUL +after_test: + - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test_results.xml)) artifacts: - path: '*.exe' - path: '*.msi' @@ -53,7 +55,6 @@ 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). |