From 68222ddc7bf2f4a3de84f916eb45a2e45fcacd24 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 4 Oct 2019 16:47:45 +0200 Subject: [PATCH] travis: Force flaky on travis, they are becoming really annoying Flaky tests send wrong signals, and we restart anyway. We should rather track flakiness an open issues when they become too regular. --- .travis/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis/build.sh b/.travis/build.sh index 61465f2a0..e5a477f3d 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -38,6 +38,12 @@ echo -en 'travis_fold:start:script.1\\r' cat config.vars echo -en 'travis_fold:end:script.1\\r' +cat > pytest.ini << EOF +[pytest] +addopts=-p no:logging --color=no --force-flaky +EOF + + if [ "$SOURCE_CHECK_ONLY" == "false" ]; then echo -en 'travis_fold:start:script.2\\r' make -j3 > /dev/null