From 85dd19c9acb990935603046be1aae617a310a13a Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 23 Sep 2020 12:09:32 +0200 Subject: [PATCH] travis: Reduce reruns to 2 and early failure on test failure While continuing to test all tests is good, it also means we potentially wait much longer to get the final verdict, and it can truncate logs if there are too many failures. --- .travis/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/build.sh b/.travis/build.sh index 09bf04b1f..554932d06 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -56,7 +56,7 @@ if [ "$NO_PYTHON" != 1 ]; then cat > pytest.ini << EOF [pytest] -addopts=-p no:logging --color=no --reruns=5 +addopts=-p no:logging --color=no --reruns=2 -x EOF fi