From: Simon Brandhof Date: Tue, 20 Mar 2018 20:24:33 +0000 (+0100) Subject: Avoid Travis timeout when no logs are printed during 10 minutes X-Git-Tag: 7.5~1499 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5df7c6623c68e8f30202b2c99983d9f5267d1d87;p=sonarqube.git Avoid Travis timeout when no logs are printed during 10 minutes --- diff --git a/travis.sh b/travis.sh index e17d7391e30..aa22640cb1d 100755 --- a/travis.sh +++ b/travis.sh @@ -39,10 +39,15 @@ function configureTravis { } configureTravis +# +# Travis fails on timeout when build does not print logs +# during 10 minutes. This function aims to bypass this +# behavior when building the slow sonar-server sub-project. +# function keep_alive() { while true; do - echo -en "foo" - sleep 5 + echo -en "\a" + sleep 60 done } keep_alive &