mirror of
https://github.com/wassname/ray.git
synced 2026-08-04 13:14:14 +08:00
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:
+9
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user