From c5c1766614a684afab48e68e7669826e068d25aa Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Sat, 4 Jun 2022 20:03:02 +0200 Subject: [PATCH] ci: disable travis-ci output timeout (#1123) --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7115e5d1..aad9e5a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,4 +52,11 @@ install: - $PYTHON -m pip install -U pip - $PYTHON -m pip install -e ".[dev]" pytest-custom-exit-code -script: $PYTHON ./bin/run_tests.py +script: | + # travis_wait disable the output while waiting + # use the same kind of tricks as in multibuild + (while true; do echo "travis_keep_alive"; sleep 300; done) & + SPINNER_PID=$! + disown + $PYTHON ./bin/run_tests.py + kill -9 ${SPINNER_PID}