Skip to content

Apache DataFusion SQL Query Engine

ARROW-4078: [CI] Detect changes in docs/ directory and build the Linux Python entry if so

Wes McKinney6462aa7697dc
diff --git a/.travis.yml b/.travis.yml
index 10300c9b6e..99ff24aaac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -106,7 +106,7 @@ matrix:
# TODO(wesm): Run the benchmarks outside of Travis
# - ARROW_TRAVIS_PYTHON_BENCHMARKS=1
before_script:
- - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
+ - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ] && [ $ARROW_CI_DOCS_AFFECTED != "1" ]; then exit; fi
- $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh
- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
- $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh
diff --git a/ci/detect-changes.py b/ci/detect-changes.py
index e9a647c5e6..102dc56396 100644
--- a/ci/detect-changes.py
+++ b/ci/detect-changes.py
@@ -26,7 +26,7 @@ import subprocess
perr = functools.partial(print, file=sys.stderr)
-LANGUAGE_TOPICS = ['c_glib', 'cpp', 'go', 'java', 'js', 'python',
+LANGUAGE_TOPICS = ['c_glib', 'cpp', 'docs', 'go', 'java', 'js', 'python',
'r', 'ruby', 'rust']
ALL_TOPICS = LANGUAGE_TOPICS + ['integration', 'site', 'dev']