diff options
author | Nobuaki Sukegawa <nsuke@apache.org> | 2016-05-15 00:25:04 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-05-15 00:25:04 +0900 |
commit | 7be78ea0b351d86ce4063279cf33976ba70f4b85 (patch) | |
tree | 09c717dc24605d75a17a8ec847776a4381e55f30 /.travis.yml | |
parent | 8cc9175ae871657dfd3f2f0ea186ded0c0dbcbd9 (diff) | |
download | thrift-7be78ea0b351d86ce4063279cf33976ba70f4b85.tar.gz |
THRIFT-3816 Reduce docker build duration on Travis-CI
This closes #1007
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 33a32d8d8..f8a8c1e82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,12 +26,11 @@ services: - docker install: - - travis_wait docker pull thrift/$DISTRO:latest || true - cp -r ./build/docker/scripts/*.sh ./build/docker/$DISTRO/scripts/ - travis_retry travis_wait docker build -q -t thrift-build build/docker/$DISTRO script: - - docker run -e BUILD_LIBS="$BUILD_LIBS" $BUILD_ENV -v $(pwd):/thrift/src -it thrift-build $BUILD_CMD $BUILD_ARG + - docker run --net=host -e BUILD_LIBS="$BUILD_LIBS" $BUILD_ENV -v $(pwd):/thrift/src -it thrift-build $BUILD_CMD $BUILD_ARG env: global: |