From af7252da0f33a390c1987de092c172c28aaaa863 Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Mon, 14 Oct 2019 15:48:23 -0700 Subject: [PATCH] Deactivate bazel caching for linux wheels (#5915) --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index cacd12dd1..250e76165 100644 --- a/.travis.yml +++ b/.travis.yml @@ -113,14 +113,20 @@ matrix: - ./ci/suppress_output ./ci/travis/install-dependencies.sh # Mount bazel cache dir to the docker container. + # For the linux wheel build, we use a shared cache between all + # wheels, but not between different travis runs, because that + # caused timeouts in the past. See the "cache: false" line below. - export MOUNT_BAZEL_CACHE="-v $HOME/ray-bazel-cache:/root/ray-bazel-cache -e TRAVIS=true" + # This command should be kept in sync with ray/python/README-building-wheels.md, # except the `$MOUNT_BAZEL_CACHE` part. + - ./ci/suppress_output docker run --rm -w /ray -v `pwd`:/ray $MOUNT_BAZEL_CACHE -ti rayproject/arrow_linux_x86_64_base:latest /ray/python/build-wheel-manylinux1.sh script: - if [ $RAY_CI_LINUX_WHEELS_AFFECTED != "1" ]; then exit; fi - ./ci/travis/test-wheels.sh + cache: false # Build MacOS wheels. - os: osx