summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-02-27 18:22:40 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-02-28 12:04:05 +0900
commit2c5ed27a25087f541312d35938056890c4784fc6 (patch)
tree609732ae1c3d2208cda61768f1ee8902a9ba31ab /.travis.yml
parent103974ec550e7d1c5c75e35f1309095487b5b4e1 (diff)
downloadthrift-2c5ed27a25087f541312d35938056890c4784fc6.tar.gz
THRIFT-3690 Work around docker image build failures on Travis-CI
Client: Build Patch: Nobuaki Sukegawa This closes #906
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 7aa6efb73..51e9f4796 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,9 +25,9 @@ services:
- docker
install:
- - docker pull thrift/$DISTRO:latest || true
+ - travis_wait docker pull thrift/$DISTRO:latest || true
- cp -r ./build/docker/scripts/*.sh ./build/docker/$DISTRO/scripts/
- - docker build -q -t thrift-build build/docker/$DISTRO
+ - travis_wait travis_retry docker build -q -t thrift-build build/docker/$DISTRO
script:
- docker run $BUILD_ENV -v $(pwd):/thrift/src -it thrift-build $BUILD_CMD $BUILD_ARG