summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJiayu Liu <jiayu.liu@airbnb.com>2022-04-22 10:24:15 +0800
committerJens Geyer <Jens-G@users.noreply.github.com>2022-04-27 12:49:55 +0200
commit4302aa07b094316ffca1665da346f495d88eb065 (patch)
tree6aad611a9f91b1ba304f29d0c5f040bfec02b0b8 /.travis.yml
parent8045d82f0d5359cbdc196414f0c1aa4679c4124f (diff)
downloadthrift-4302aa07b094316ffca1665da346f495d88eb065.tar.gz
add travis_wait for rebuidling docker image
because building image requires kerl to build erlang, which requires >10 min to build and meanwhile not printing to stdout, failing the travis build
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e89b3e02c..edebbf32e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,7 +33,10 @@ services:
- docker
install:
- - if [[ `uname` == "Linux" ]]; then build/docker/refresh.sh; fi
+ # https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
+ # adding `travis_wait` because kerl building in the docker file takes >10 min for building erlang
+ # without printing to stdout, resulting in build failures
+ - if [[ `uname` == "Linux" ]]; then travis_wait build/docker/refresh.sh; fi
stages:
- docker # docker images