Browse Source

Avoid Travis timeout when no logs are printed during 10 minutes

tags/7.5
Simon Brandhof 6 years ago
parent
commit
5df7c6623c
1 changed files with 7 additions and 2 deletions
  1. 7
    2
      travis.sh

+ 7
- 2
travis.sh View File

@@ -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 &

Loading…
Cancel
Save