Skip to content

Commit

Permalink
Merge pull request #231 from ushuz/manylinux1-wheels
Browse files Browse the repository at this point in the history
Build manylinux1 wheels with cibuildwheel 0.9.4
  • Loading branch information
etrepum committed Sep 3, 2018
2 parents 543b423 + 57ea0c5 commit 2ba490b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ matrix:
python: '3.5'
- os: linux
dist: trusty
sudo: false
sudo: required
services:
- docker
python: '3.6'
env: BUILD_SDIST=true
env: BUILD_SDIST=true BUILD_WHEEL=true
- os: linux
sudo: false
python: pypy
Expand Down
4 changes: 4 additions & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
pyenv install -s $PYENV_VERSION
pip install wheel
fi

if [[ $BUILD_WHEEL == 'true' ]]; then
pip install wheel cibuildwheel==0.9.4
fi
4 changes: 4 additions & 0 deletions .travis/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
python setup.py bdist_wheel
fi

if [[ $BUILD_WHEEL == 'true' ]]; then
cibuildwheel --output-dir dist
fi

if [[ $BUILD_SDIST == 'true' ]]; then
python setup.py sdist
fi

0 comments on commit 2ba490b

Please sign in to comment.