Skip to content

Apache DataFusion SQL Query Engine

ARROW-947: [Python] Improve execution time of manylinux1 build

Uwe L. Korncf961d01623b
diff --git a/.travis.yml b/.travis.yml
index d821b5accb..e6941620c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,13 +56,9 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh
- language: cpp
before_script:
- - docker pull quay.io/xhochy/arrow_manylinux1_x86_64_base:ARROW-927
- script: |
- pushd python/manylinux1
- git clone ../../ arrow
- docker build -t arrow-base-x86_64 -f Dockerfile-x86_64 .
- docker run --rm -v $PWD:/io arrow-base-x86_64 /io/build_arrow.sh
- ls -l dist/
+ - docker pull quay.io/xhochy/arrow_manylinux1_x86_64_base:latest
+ script:
+ - $TRAVIS_BUILD_DIR/ci/travis_script_manylinux.sh
- language: java
os: linux
jdk: oraclejdk7
diff --git a/ci/travis_script_manylinux.sh b/ci/travis_script_manylinux.sh
new file mode 100755
index 0000000000..69feb685b5
--- /dev/null
+++ b/ci/travis_script_manylinux.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License. See accompanying LICENSE file.
+
+
+set -ex
+
+pushd python/manylinux1
+git clone ../../ arrow
+docker build -t arrow-base-x86_64 -f Dockerfile-x86_64 .
+docker run --rm -v $PWD:/io arrow-base-x86_64 /io/build_arrow.sh