wheel_testing: fixed wheel testing build selector.

This commit is contained in:
SimLeek
2019-02-20 01:01:56 -07:00
parent c84b3da429
commit 2cfa87dd19
+3 -3
View File
@@ -9,9 +9,9 @@ python:
install:
- pip install -r requirements.txt
script:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then export CIBW_BUILD=cp27; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then export CIBW_BUILD=cp35; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then export CIBW_BUILD=cp36; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then export CIBW_BUILD='cp27*'; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then export CIBW_BUILD='cp35*'; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then export CIBW_BUILD='cp36*'; fi
- pip install cibuildwheel==0.10.1
- cibuildwheel --output-dir wheelhouse