You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2018/12/27 01:24:29 UTC

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

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new abde663  ARROW-4078: [CI] Detect changes in docs/ directory and build the Linux Python entry if so
abde663 is described below

commit abde663b215295c051ae46f8a4e2bcceec081a2f
Author: Wes McKinney <we...@apache.org>
AuthorDate: Thu Dec 27 10:24:00 2018 +0900

    ARROW-4078: [CI] Detect changes in docs/ directory and build the Linux Python entry if so
    
    Author: Wes McKinney <we...@apache.org>
    
    Closes #3266 from wesm/ARROW-4078 and squashes the following commits:
    
    395c4969 <Wes McKinney> Detect changes in docs/ directory and build the Linux Python entry if so
---
 .travis.yml          | 2 +-
 ci/detect-changes.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 10300c9..99ff24a 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 e9a647c..102dc56 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']