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

wesm 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 1fddb34  ARROW-5669: [Python][Packaging] Add ARROW_TEST_DATA env 
variable to Crossbow Linux Wheel build
1fddb34 is described below

commit 1fddb34a13644cbe99478c120940cfdddaa713f3
Author: Wes McKinney <wesm+...@apache.org>
AuthorDate: Thu Jun 20 18:31:16 2019 -0700

    ARROW-5669: [Python][Packaging] Add ARROW_TEST_DATA env variable to 
Crossbow Linux Wheel build
    
    Author: Wes McKinney <wesm+...@apache.org>
    
    Closes #4639 from wesm/ARROW-5669 and squashes the following commits:
    
    2ea8755bc <Wes McKinney> Adapt for old git
    e1e8ea8c5 <Wes McKinney> Set environment variable inside Docker container
    927eb92c0 <Wes McKinney> Add ARROW_TEST_DATA env variable to Crossbow Linux 
Wheel build
---
 dev/tasks/python-wheels/linux-test.sh    | 2 ++
 dev/tasks/python-wheels/travis.linux.yml | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/dev/tasks/python-wheels/linux-test.sh 
b/dev/tasks/python-wheels/linux-test.sh
index 4abe6f3..1fdabc7 100755
--- a/dev/tasks/python-wheels/linux-test.sh
+++ b/dev/tasks/python-wheels/linux-test.sh
@@ -37,6 +37,8 @@ if sys.version_info.major > 2:
     import pyarrow.gandiva
 "
 
+export ARROW_TEST_DATA=/arrow/testing/data
+
 # Run pyarrow tests
 pip install -q -r /arrow/python/requirements-test.txt
 pytest -v --pyargs pyarrow
diff --git a/dev/tasks/python-wheels/travis.linux.yml 
b/dev/tasks/python-wheels/travis.linux.yml
index 6865070..31e633e 100644
--- a/dev/tasks/python-wheels/travis.linux.yml
+++ b/dev/tasks/python-wheels/travis.linux.yml
@@ -44,6 +44,11 @@ script:
 
   # build wheel
   - pushd arrow
+
+  # Pull testing resources
+  - git submodule init
+  - git submodule update
+
   # don't attempt to build it, because the base image by pypa is updated
   # regularly and would cause undeterministic builds
   - docker-compose pull python-manylinux1

Reply via email to