Apache DataFusion SQL Query Engine
ARROW-2182: [Python] Build C++ libraries in benchmarks build step
Antoine Pitroufabcf32f4c98
diff --git a/.travis.yml b/.travis.ymlindex c3e08b9b25..2fd31bec72 100644--- a/.travis.yml+++ b/.travis.yml@@ -52,6 +52,8 @@ matrix:- ARROW_TRAVIS_PLASMA=1- ARROW_TRAVIS_ORC=1- ARROW_TRAVIS_CLANG_FORMAT=1+ - ARROW_TRAVIS_PYTHON_BENCHMARKS=1+ - ARROW_TRAVIS_PYTHON_DOCS=1- ARROW_BUILD_WARNING_LEVEL=CHECKIN- CC="clang-5.0"- CXX="clang++-5.0"diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.shindex 8421e5cd3f..325272fb18 100755--- a/ci/travis_script_python.sh+++ b/ci/travis_script_python.sh@@ -107,7 +107,7 @@ fiPYARROW_PATH=$CONDA_PREFIX/lib/python$PYTHON_VERSION/site-packages/pyarrowpython -m pytest -r sxX --durations=15 $PYARROW_PATH --parquet-if [ "$PYTHON_VERSION" == "3.6" ] && [ $TRAVIS_OS_NAME == "linux" ]; then+if [ "$ARROW_TRAVIS_PYTHON_DOCS" == "1" ] && [ "$PYTHON_VERSION" == "3.6" ]; then# Build documentation onceconda install -y -q \ipython \@@ -120,3 +120,22 @@ if [ "$PYTHON_VERSION" == "3.6" ] && [ $TRAVIS_OS_NAME == "linux" ]; thensphinx-build -q -b html -d _build/doctrees -W source _build/htmlpopdfi++if [ "$ARROW_TRAVIS_PYTHON_BENCHMARKS" == "1" ] && [ "$PYTHON_VERSION" == "3.6" ]; then+ # Check the ASV benchmarking setup.+ # Unfortunately this won't ensure that all benchmarks succeed+ # (see https://github.com/airspeed-velocity/asv/issues/449)+ source deactivate+ conda create -y -q -n pyarrow_asv python=$PYTHON_VERSION+ source activate pyarrow_asv+ pip install -q git+https://github.com/pitrou/asv.git@customize_commands++ pushd $TRAVIS_BUILD_DIR/python+ # Workaround for https://github.com/airspeed-velocity/asv/issues/631+ git fetch --depth=100 origin master:master+ # Generate machine information (mandatory)+ asv machine --yes+ # Run benchmarks on the changeset being tested+ asv run --no-pull --show-stderr --quick ${TRAVIS_COMMIT}^!+ popd+fi