Skip to content

Apache DataFusion SQL Query Engine

ARROW-3026: [Python] [Plasma] Only run Plasma unit tests with valgrind under Python 3.6

Wes McKinney114edd31ef10
diff --git a/.travis.yml b/.travis.yml
index f8f96ac080..940a96061e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,7 +80,11 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_build_parquet_cpp.sh
# Build Arrow Java to test the pyarrow<->JVM in-process bridge
- $TRAVIS_BUILD_DIR/ci/travis_script_java.sh
+ # 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
+ - export PLASMA_VALGRIND=1
- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
- $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh
# [OS X] C++ & Python w/ XCode 6.4
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index 53dd36cda9..ebdd5de693 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -124,9 +124,7 @@ python -c "import pyarrow.parquet"
python -c "import pyarrow.plasma"
python -c "import pyarrow.orc"
-if [ "$ARROW_TRAVIS_VALGRIND" == "1" ]; then
- export PLASMA_VALGRIND=1
-fi
+echo "PLASMA_VALGRIND: $PLASMA_VALGRIND"
# Set up huge pages for plasma test
if [ $TRAVIS_OS_NAME == "linux" ]; then