You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/12/19 16:54:42 UTC
[arrow] branch master updated: ARROW-4030: [CI] Use
travis_terminate in more script commands to fail faster
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 320621d ARROW-4030: [CI] Use travis_terminate in more script commands to fail faster
320621d is described below
commit 320621dae6704dab000dddbf400a87a6f4a79914
Author: Wes McKinney <we...@apache.org>
AuthorDate: Wed Dec 19 10:54:35 2018 -0600
ARROW-4030: [CI] Use travis_terminate in more script commands to fail faster
I had done this partially in ARROW-3803, but I reviewed again and tried to apply this more consistently.
Note it is not necessary to use this in the last command in the script: block
Author: Wes McKinney <we...@apache.org>
Closes #3226 from wesm/ARROW-4030 and squashes the following commits:
a04c11e11 <Wes McKinney> Use travis_terminate in more builds
---
.travis.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f7094fc..10300c9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -111,13 +111,13 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
- $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh
script:
- - $TRAVIS_BUILD_DIR/ci/travis_script_java.sh
+ - $TRAVIS_BUILD_DIR/ci/travis_script_java.sh || travis_terminate 1
# Only run Plasma tests with valgrind in one of the Python builds because
# they are slow
- export PLASMA_VALGRIND=0
- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7
+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7 || travis_terminate 1
- export PLASMA_VALGRIND=1
- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6 || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh
- name: "[OS X] C++ w/ XCode 8.3"
compiler: clang
@@ -147,7 +147,7 @@ matrix:
- git submodule update --init
- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
script:
- - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh
+ - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh
- name: "[OS X] Python w/ XCode 6.4"
compiler: clang
@@ -163,8 +163,8 @@ matrix:
before_script:
script:
- if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
- - $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh
- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7
+ - $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh || travis_terminate 1
+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7 || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
- name: "[manylinux1] Python"
language: cpp