Ver código fonte

Avoid Travis timeout when no logs are printed during 10 minutes

tags/7.5
Simon Brandhof 6 anos atrás
pai
commit
5df7c6623c
1 arquivos alterados com 7 adições e 2 exclusões
  1. 7
    2
      travis.sh

+ 7
- 2
travis.sh Ver arquivo

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

Carregando…
Cancelar
Salvar