From 840d9c126fb9f9e68b1479c22c15769d0adcffde Mon Sep 17 00:00:00 2001 From: Simon Mo Date: Tue, 17 Dec 2019 00:03:05 -0800 Subject: [PATCH] Move travis build script to after the deploy stage (#6518) * move travis build script to after the deploy stage * Add skip cleanup --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d1667670..657e5235b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,8 +101,6 @@ matrix: - ./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 - # Ignore any error for successful wheel uploads - - $TRAVIS_BUILD_DIR/ci/travis/build-autoscaler-images.sh || true script: - if [ $RAY_CI_LINUX_WHEELS_AFFECTED != "1" ]; then exit; fi @@ -188,6 +186,15 @@ deploy: repo: ray-project/ray condition: $LINUX_WHEELS = 1 || $MAC_WHEELS = 1 + - provider: script + script: bash $TRAVIS_BUILD_DIR/ci/travis/build-autoscaler-images.sh || true + skip_cleanup: true + on: + repo: ray-project/ray + all_branches: true + condition: $LINUX_WHEELS = 1 || $MAC_WHEELS = 1 + + cache: directories: - $HOME/ray-bazel-cache