From 397194a0ba0f7959e22013443ad5dc5460e4e2ab Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Wed, 23 Jan 2019 13:42:24 -0500 Subject: [PATCH] reflect increase of Travis build times in timeouts we are benefiting from increased build times since about 3 months...time to update the scripts! --- .ci/travis/linux/docker-build-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/travis/linux/docker-build-test.sh b/.ci/travis/linux/docker-build-test.sh index 939db529a7c..87992986e3f 100755 --- a/.ci/travis/linux/docker-build-test.sh +++ b/.ci/travis/linux/docker-build-test.sh @@ -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))