From 5df7c6623c68e8f30202b2c99983d9f5267d1d87 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 20 Mar 2018 21:24:33 +0100 Subject: [PATCH] Avoid Travis timeout when no logs are printed during 10 minutes --- travis.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 & -- 2.39.5