From: Vincent Bernat Date: Fri, 18 Mar 2016 19:18:30 +0000 (+0100) Subject: travis: retry non-parallel tests on failure X-Git-Tag: 0.9.2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36d3582e64d701cbdc48660713093f02b11afdf7;p=thirdparty%2Flldpd.git travis: retry non-parallel tests on failure On failure, reports are incomplete with parallel tests. In this case, rerun failed tests with full verbosity. --- diff --git a/tests/ci/run.sh b/tests/ci/run.sh index 39d589f8..91d00d55 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -39,6 +39,7 @@ case "$(uname -s)" in Linux) # Integration tests cd tests/integration - sudo $(which python3) -m pytest -n 5 -vvv --boxed + sudo $(which python3) -m pytest -n 5 -vv --boxed || \ + sudo $(which python3) -m pytest -vvv --last-failed --maxfail=5 ;; esac