diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-08-31 13:51:26 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-08-31 14:37:52 +0200 |
commit | 540a7782552baa013ee4bfeb57e4c488a6deca58 (patch) | |
tree | 03f52fc85e3f459efecf025580eebae05eb61bfb /travis | |
parent | 033d298bc2e29fb43640e478c2ecabad21e4e4da (diff) |
Show log output during build
Stop using travis_wait as it hides log output during build
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/travis.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/travis/travis.sh b/travis/travis.sh index f64affbcbb0..469e5891e58 100755 --- a/travis/travis.sh +++ b/travis/travis.sh @@ -2,8 +2,19 @@ # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e +# Workaround for Travis log output timeout (jobs without output over 10 minutes are killed) +function bell() { + while true; do + echo -e "\a" + sleep 300 + done +} + PLATFORM_LANGUAGE=$1 DOCKER_IMAGE=vespaengine/vespa-dev:latest + +bell & docker run --rm -v ${HOME}/.m2:/root/.m2 -v ${HOME}/.ccache:/root/.ccache -v $(pwd):/source \ --entrypoint /source/travis/travis-build-${PLATFORM_LANGUAGE}.sh ${DOCKER_IMAGE} +exit $? |