Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reflect increase of Travis build times in timeouts
we are benefiting from increased build times since about 3 months...time to update the scripts!
  • Loading branch information
3nids committed Jan 23, 2019
1 parent e23307c commit 551d7e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/travis/linux/docker-build-test.sh
Expand Up @@ -72,10 +72,10 @@ echo "travis_fold:end:cmake"
# The tests should be aborted before travis times out, in order to allow uploading
# the ccache and therefore speedup subsequent e builds.
#
# Travis will kill the job after approx 120 minutes, we subtract 8 minutes for
# Travis will kill the job after approx 150 minutes, we subtract 5 minutes for
# uploading and subtract the bootstrapping time from that.
# Hopefully clocks are in sync :)
TRAVIS_TIME=120
TRAVIS_TIME=150
UPLOAD_TIME=5
CURRENT_TIME=$(date +%s)
TIMEOUT=$((( TRAVIS_TIME - UPLOAD_TIME ) * 60 - CURRENT_TIME + TRAVIS_TIMESTAMP))
Expand Down

0 comments on commit 551d7e8

Please sign in to comment.