From 36d3582e64d701cbdc48660713093f02b11afdf7 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 18 Mar 2016 20:18:30 +0100 Subject: [PATCH] travis: retry non-parallel tests on failure On failure, reports are incomplete with parallel tests. In this case, rerun failed tests with full verbosity. --- tests/ci/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5