aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh9
1 files 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 &