Skip to content
Permalink
Browse files

update Travis build timeout

  • Loading branch information
3nids committed May 17, 2018
1 parent 2f0fbc6 commit 56104bcd1212938b802bb06956b81193ab5057ef
Showing with 2 additions and 2 deletions.
  1. +2 −2 .ci/travis/linux/docker-build-test.sh
@@ -65,10 +65,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 90 minutes, we subtract 8 minutes for
# Travis will kill the job after approx 120 minutes, we subtract 8 minutes for
# uploading and subtract the bootstrapping time from that.
# Hopefully clocks are in sync :)
TRAVIS_TIME=90
TRAVIS_TIME=120
UPLOAD_TIME=5
CURRENT_TIME=`date +%s`
TIMEOUT=$(expr \( ${TRAVIS_TIME} - ${UPLOAD_TIME} \) \* 60 - ${CURRENT_TIME} + ${TRAVIS_TIMESTAMP})

0 comments on commit 56104bc

Please sign in to comment.
You can’t perform that action at this time.