Splits travis rule for Python wrapper

This commit is contained in:
Taku Kudo 2018-06-16 18:32:16 +09:00
Родитель 511b831968
Коммит d5f501059b
2 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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