Skip to content

Commit

Permalink
Merge pull request #5786 from benoit-pierre/fix_appveyor
Browse files Browse the repository at this point in the history
appveyor: do not pass integration jobs on failed unit tests
  • Loading branch information
pradyunsg committed Sep 17, 2018
2 parents f0ab8df + ccd030b commit deeb1e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
environment:
matrix:
# Unit and integration tests.
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python27"
RUN_INTEGRATION_TESTS: "True"
- PYTHON: "C:\\Python36-x64"
Expand Down Expand Up @@ -58,8 +60,10 @@ test_script:
subst T: $env:TEMP
$env:TEMP = "T:\"
$env:TMP = "T:\"
tox -e py -- -m unit -n 3
if ($env:RUN_INTEGRATION_TESTS -eq "True") {
tox -e py -- -m integration -n 3 --duration=5
}
else {
tox -e py -- -m unit -n 3
}
}

0 comments on commit deeb1e4

Please sign in to comment.