on master help sign in
Use slightly more official hack for preventing stalled builds
commit5b57227f1c8c84ddc266020b7a4b530bde15d01a authorMichael Xavier <michael@michaelxavier.net> dateThu 13 Jul 2017, 09:02 (9 years ago) parent4065a41
1 file changed+2−1
.travis.yml+2−1
.travis.yml+2−1
@@ -38,7 +38,6 @@ install:
3838 - echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVERSION/elasticsearch.yml
3939 - ./elasticsearch-$ESVERSION/bin/elasticsearch &
4040 # Bloodhound seems to take a while to build and can sometimes stall out the build when travis detects no output.
41− - while true; do echo "travis pls"; sleep 30; done &
4241
4342
4443# This line does all of the work: installs GHC if necessary, build the library,
@@ -46,6 +45,8 @@ install:
4645# around some quirks in Travis's terminal implementation.
4746script:
4847 - stack $ARGS setup
48+ # Prevent Inactivity timeouts. See https://github.com/travis-ci/travis-ci/issues/7020#issuecomment-288961580
49+ - travis_wait 45 sleep 1800 &
4950 - stack $ARGS test katip:test --no-terminal --haddock --no-haddock-deps
5051 - stack $ARGS test katip-elasticsearch:test --no-terminal --test-arguments="$ESTESTARGS"
5152 - stack $ARGS bench