Move travis build script to after the deploy stage (#6518)

* move travis build script to after the deploy stage

* Add skip cleanup
This commit is contained in:
Simon Mo
2019-12-17 00:03:05 -08:00
committed by GitHub
parent 1a1324d2a2
commit 840d9c126f
+9 -2
View File
@@ -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