@@ -48,7 +48,6 @@ matrix:
4848 fast_finish : true
4949 allow_failures :
5050 - jdk : oraclejdk9
51- - language : r
5251 include :
5352 - name : " Lint C++, Python, R"
5453 os : linux
@@ -62,77 +61,67 @@ matrix:
6261 - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
6362 script :
6463 - $TRAVIS_BUILD_DIR/ci/travis_lint.sh
65- - name : " C++ & Python w/ gcc 4.9 "
64+ - name : " C++ unit tests, code coverage with gcc 4.8 "
6665 compiler : gcc
6766 language : cpp
6867 os : linux
6968 jdk : openjdk8
7069 env :
71- - ARROW_TRAVIS_USE_TOOLCHAIN=1
7270 - ARROW_TRAVIS_VALGRIND=1
71+ - ARROW_TRAVIS_USE_TOOLCHAIN=1
7372 - ARROW_TRAVIS_PLASMA=1
7473 - ARROW_TRAVIS_ORC=1
7574 - ARROW_TRAVIS_COVERAGE=1
7675 - ARROW_TRAVIS_PARQUET=1
77- - ARROW_TRAVIS_PYTHON_DOCS=1
76+ - ARROW_TRAVIS_GANDIVA=1
77+ - ARROW_TRAVIS_GANDIVA_JAVA=1
7878 - ARROW_BUILD_WARNING_LEVEL=CHECKIN
79- - ARROW_TRAVIS_PYTHON_JVM=1
80- - ARROW_TRAVIS_JAVA_BUILD_ONLY=1
81- - ARROW_TRAVIS_PYTHON_GANDIVA=1
82- # ARROW-2999 Benchmarks are disabled in Travis CI for the time being
83- # - ARROW_TRAVIS_PYTHON_BENCHMARKS=1
84- - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
8579 before_script :
86- # (ARROW_CI_CPP_AFFECTED implies ARROW_CI_PYTHON_AFFECTED)
87- - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
80+ - if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
8881 - $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh
8982 - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
9083 # If either C++ or Python changed, we must install the C++ libraries
9184 - git submodule update --init
9285 - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
9386 script :
94- # All test steps are required for accurate C++ coverage info
95- - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh
96- # Build Arrow Java to test the pyarrow<->JVM in-process bridge
97- - $TRAVIS_BUILD_DIR/ci/travis_script_java.sh
98- # Only run Plasma tests with valgrind in one of the Python builds because
99- # they are slow
100- - export PLASMA_VALGRIND=0
101- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7
102- - export PLASMA_VALGRIND=1
103- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
104- - $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh
105- - name : " Gandiva C++ w/ gcc 4.9 and Java"
87+ - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
88+ - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh || travis_terminate 1
89+ - $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh || travis_terminate 1
90+ - name : " Python 2.7 and 3.6 unit tests, coverage with gcc 4.8"
10691 compiler : gcc
10792 language : cpp
10893 os : linux
10994 jdk : openjdk8
11095 env :
111- - ARROW_TRAVIS_GANDIVA=1
112- - ARROW_TRAVIS_GANDIVA_JAVA=1
113- - ARROW_TRAVIS_GANDIVA_TESTS=1
114- - ARROW_TRAVIS_OPTIONAL_INSTALL=1
115- - ARROW_CPP_BUILD_TARGETS="gandiva"
116- # TODO(wesm): Remove this after ARROW-4026
117- - ARROW_TRAVIS_CPP_TEST_INCLUDE_LABELS="gandiva"
96+ # Valgrind is needed for the Plasma store tests
97+ - ARROW_TRAVIS_VALGRIND=1
11898 - ARROW_TRAVIS_USE_TOOLCHAIN=1
119- # ARROW-3979 temporarily disabled.
120- - ARROW_TRAVIS_VALGRIND=0
99+ - ARROW_TRAVIS_COVERAGE=1
100+ - ARROW_TRAVIS_PYTHON_DOCS=1
121101 - ARROW_BUILD_WARNING_LEVEL=CHECKIN
122- - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
102+ - ARROW_TRAVIS_PYTHON_JVM=1
103+ - ARROW_TRAVIS_PYTHON_GANDIVA=1
104+ - ARROW_TRAVIS_OPTIONAL_INSTALL=1
105+ # TODO(wesm): Run the benchmarks outside of Travis
106+ # - ARROW_TRAVIS_PYTHON_BENCHMARKS=1
123107 before_script :
124- # Run if something changed in CPP or Java.
125- - if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
108+ - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ] && [ $ARROW_CI_DOCS_AFFECTED != "1" ]; then exit; fi
126109 - $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh
127110 - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
128- - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp .sh --only-library
111+ - $TRAVIS_BUILD_DIR/ci/travis_install_toolchain .sh
129112 script :
130- - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_cpp.sh
131- - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh
132- - name : " [OS X] C++ & Python w/ XCode 6.4"
113+ - $TRAVIS_BUILD_DIR/ci/travis_script_java.sh || travis_terminate 1
114+ # Only run Plasma tests with valgrind in one of the Python builds because
115+ # they are slow
116+ - export PLASMA_VALGRIND=0
117+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7 || travis_terminate 1
118+ - export PLASMA_VALGRIND=1
119+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6 || travis_terminate 1
120+ - $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh
121+ - name : " [OS X] C++ w/ XCode 8.3"
133122 compiler : clang
134123 language : cpp
135- osx_image : xcode6.4
124+ osx_image : xcode8.3
136125 os : osx
137126 cache :
138127 addons :
@@ -141,41 +130,41 @@ matrix:
141130 - ARROW_TRAVIS_PLASMA=1
142131 - ARROW_TRAVIS_ORC=1
143132 - ARROW_TRAVIS_PARQUET=1
133+ - ARROW_TRAVIS_GANDIVA=1
134+ - ARROW_TRAVIS_GANDIVA_JAVA=1
135+ - ARROW_TRAVIS_OPTIONAL_INSTALL=1
144136 - ARROW_BUILD_WARNING_LEVEL=CHECKIN
137+ # ARROW-3803: The Xcode 8.3 image has Boost libraries in /usr/local/lib
138+ # which can get loaded before the toolchain Boost libraries. These seem to
139+ # get loaded even though we are modifying LD_LIBRARY_PATH. We build our own
140+ # Boost and statically link to get around the issue until this can be
141+ # investigated further
142+ - ARROW_TRAVIS_VENDORED_BOOST=1
145143 before_script :
146- - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
144+ - if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
147145 # If either C++ or Python changed, we must install the C++ libraries
148146 - git submodule update --init
149147 - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
150148 script :
151- - if [ $ARROW_CI_CPP_AFFECTED == "1" ]; then $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh; fi
152- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7
153- - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
154- - name : " [OS X] Gandiva C++ w/ XCode 8.3 & Java"
149+ - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
150+ - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh
151+ - name : " [OS X] Python w/ XCode 6.4"
155152 compiler : clang
156153 language : cpp
157- # xcode 7.3 has a bug in strptime.
158- osx_image : xcode8.3
154+ osx_image : xcode6.4
159155 os : osx
160156 cache :
161157 addons :
162158 env :
163- - ARROW_TRAVIS_GANDIVA=1
164- - ARROW_TRAVIS_GANDIVA_JAVA=1
165- - ARROW_TRAVIS_GANDIVA_TESTS=1
166- - ARROW_TRAVIS_OPTIONAL_INSTALL=1
167- - ARROW_CPP_BUILD_TARGETS="gandiva"
168- # TODO(wesm): Remove this after ARROW-4026
169- - ARROW_TRAVIS_CPP_TEST_INCLUDE_LABELS="gandiva"
170159 - ARROW_TRAVIS_USE_TOOLCHAIN=1
171160 - ARROW_BUILD_WARNING_LEVEL=CHECKIN
161+ - ARROW_TRAVIS_OPTIONAL_INSTALL=1
172162 before_script :
173- # Run if something changed in CPP or Java.
174- - if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
175- - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-library
176163 script :
177- - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_cpp.sh
178- - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh
164+ - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
165+ - $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh || travis_terminate 1
166+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7 || travis_terminate 1
167+ - $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
179168 - name : " [manylinux1] Python"
180169 language : cpp
181170 before_script :
@@ -292,7 +281,6 @@ matrix:
292281 - if [ $ARROW_CI_RUST_AFFECTED != "1" ]; then exit; fi
293282 - $TRAVIS_BUILD_DIR/ci/travis_install_cargo.sh
294283 script :
295- - RUSTUP_TOOLCHAIN=stable $TRAVIS_BUILD_DIR/ci/travis_script_rust.sh || true
296284 - RUSTUP_TOOLCHAIN=nightly $TRAVIS_BUILD_DIR/ci/travis_script_rust.sh
297285 after_success :
298286 - pushd ${TRAVIS_BUILD_DIR}/rust
0 commit comments