Skip to content

Commit c5c1766

Browse files
authored
ci: disable travis-ci output timeout (#1123)
1 parent 4bbbee7 commit c5c1766

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,11 @@ install:
5252
- $PYTHON -m pip install -U pip
5353
- $PYTHON -m pip install -e ".[dev]" pytest-custom-exit-code
5454

55-
script: $PYTHON ./bin/run_tests.py
55+
script: |
56+
# travis_wait disable the output while waiting
57+
# use the same kind of tricks as in multibuild
58+
(while true; do echo "travis_keep_alive"; sleep 300; done) &
59+
SPINNER_PID=$!
60+
disown
61+
$PYTHON ./bin/run_tests.py
62+
kill -9 ${SPINNER_PID}

0 commit comments

Comments
 (0)