Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit d1f6302

Browse files
committed
ci: alternative implementation of travis wait
As official travis_wait is broken for years, we go back to good old bash tricks, which are reliable.
1 parent f378196 commit d1f6302

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ install:
3636
- pip install tox
3737

3838
script:
39-
- travis_wait 30 tox
39+
# Ping stdout every 9 minutes or Travis kills build,
40+
# while travis_wait does not show the command output while processing.
41+
# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
42+
# https://github.com/travis-ci/travis-ci/issues/4190#issuecomment-353342526
43+
- |
44+
while sleep 9m; do
45+
echo "====[ $SECONDS seconds still running ]===="
46+
done &
47+
- tox
4048

4149
before_cache:
4250
- rm -rf $HOME/.cache/pip/log

0 commit comments

Comments
 (0)