From d5f501059b50db2b937b29a8e5f2e617c2d25cb3 Mon Sep 17 00:00:00 2001 From: Taku Kudo Date: Sat, 16 Jun 2018 18:32:16 +0900 Subject: [PATCH] Splits travis rule for Python wrapper --- .travis.yml | 12 ++++++++---- make_py_wheel.sh | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 598068c..5d5a4c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,13 +16,17 @@ matrix: - os: linux env: IMAGE=fedora:latest COMMAND=build_linux_gcc_fedora services: docker - - os: linux - script: - - $TRAVIS_BUILD_DIR/make_py_wheel.sh - services: docker - os: linux env: IMAGE=ubuntu:rolling COMMAND=build_linux_clang_ubuntu services: docker + - os: linux + script: + - $TRAVIS_BUILD_DIR/make_py_wheel.sh x86_64 + services: docker + - os: linux + script: + - $TRAVIS_BUILD_DIR/make_py_wheel.sh i686 + services: docker - os: osx osx_image: xcode9.3 env: IMAGE=native COMMAND=build_osx diff --git a/make_py_wheel.sh b/make_py_wheel.sh index 83c7a59..c10a429 100755 --- a/make_py_wheel.sh +++ b/make_py_wheel.sh @@ -83,6 +83,8 @@ make_wheel() { if [ "$#" -eq 2 ]; then eval "$1" $2 +elif [ "$#" -eq 1 ]; then + run_docker quay.io/pypa/manylinux1_${1} ${1} else run_docker quay.io/pypa/manylinux1_i686 i686 run_docker quay.io/pypa/manylinux1_x86_64 x86_64