diff --git a/.travis.yml b/.travis.yml index 7303013db..5a7c51e5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,7 +86,8 @@ 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 - - $TRAVIS_BUILD_DIR/ci/travis/build-autoscaler-images.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 diff --git a/ci/travis/build-autoscaler-images.sh b/ci/travis/build-autoscaler-images.sh index 2d33a7ae7..b1d95e885 100755 --- a/ci/travis/build-autoscaler-images.sh +++ b/ci/travis/build-autoscaler-images.sh @@ -25,7 +25,7 @@ if [[ "$TRAVIS" == "true" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then docker push ray-project/autoscaler:$commit_sha # We have a branch build, e.g. release/v0.7.0 - if [[ "$TRAVIS_BRANCH" != "master" ]] then + if [[ "$TRAVIS_BRANCH" != "master" ]]; then docker tag ray-project/autoscaler:$commit_sha ray-project/autoscaler:$TRAVIS_BRANCH docker push ray-project/autoscaler:$TRAVIS_BRANCH else