Apache DataFusion SQL Query Engine
ARROW-4009: [CI] Run Valgrind and C++ code coverage in different builds
Antoine Pitroucb4e3321d4be
diff --git a/.travis.yml b/.travis.ymlindex 059daeef8f..837b4cfef3 100644--- a/.travis.yml+++ b/.travis.yml@@ -61,13 +61,35 @@ matrix:- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.shscript:- $TRAVIS_BUILD_DIR/ci/travis_lint.sh- - name: "C++ unit tests, code coverage with gcc 4.8"+ - name: "C++ unit tests w/ Valgrind, clang 6.0"+ language: cpp+ os: linux+ env:+ - ARROW_TRAVIS_VALGRIND=1+ - ARROW_TRAVIS_USE_TOOLCHAIN=1+ - ARROW_TRAVIS_PLASMA=1+ - ARROW_TRAVIS_ORC=1+ - ARROW_TRAVIS_PARQUET=1+ - ARROW_TRAVIS_GANDIVA=1+ - ARROW_BUILD_WARNING_LEVEL=CHECKIN+ - CC="clang-6.0"+ - CXX="clang++-6.0"+ before_script:+ - if [ $ARROW_CI_CPP_AFFECTED != "1" ]; then exit; fi+ - $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh+ - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh+ # If either C++ or Python changed, we must install the C++ libraries+ - git submodule update --init+ - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh+ script:+ - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1+ # Separating Valgrind and C++ coverage makes individual jobs shorter+ - name: "C++ unit tests w/ gcc 4.8, coverage"compiler: gcclanguage: cppos: linuxjdk: openjdk8env:- - ARROW_TRAVIS_VALGRIND=1- ARROW_TRAVIS_USE_TOOLCHAIN=1- ARROW_TRAVIS_PLASMA=1- ARROW_TRAVIS_ORC=1@@ -87,7 +109,7 @@ matrix:- $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1- $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh || travis_terminate 1- $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh || travis_terminate 1- - name: "Python 2.7 and 3.6 unit tests, coverage with gcc 4.8"+ - name: "Python 2.7 and 3.6 unit tests w/ Valgrind, gcc 4.8, coverage"compiler: gcclanguage: cppos: linux@@ -98,10 +120,10 @@ matrix:- ARROW_TRAVIS_USE_TOOLCHAIN=1- ARROW_TRAVIS_COVERAGE=1- ARROW_TRAVIS_PYTHON_DOCS=1- - ARROW_BUILD_WARNING_LEVEL=CHECKIN- ARROW_TRAVIS_PYTHON_JVM=1- ARROW_TRAVIS_PYTHON_GANDIVA=1- ARROW_TRAVIS_OPTIONAL_INSTALL=1+ - ARROW_BUILD_WARNING_LEVEL=CHECKIN# TODO(wesm): Run the benchmarks outside of Travis# - ARROW_TRAVIS_PYTHON_BENCHMARKS=1before_script: