Преглед изворни кода

Avoid Travis timeout when no logs are printed during 10 minutes

tags/7.5
Simon Brandhof пре 6 година
родитељ
комит
5df7c6623c
1 измењених фајлова са 7 додато и 2 уклоњено
  1. 7
    2
      travis.sh

+ 7
- 2
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 &

Loading…
Откажи
Сачувај