Skip to content

Commit

Permalink
ci: update cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
iamDecode committed Mar 26, 2020
1 parent 5c9d5df commit e03792a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: python

sudo: false

jobs:
include:
# perform a linux build
Expand All @@ -24,12 +22,12 @@ env:
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings

install:
- python -m pip install twine cibuildwheel==1.1.0
- python3 -m pip install twine cibuildwheel==1.3.0

script:
# build the wheels, put them into './wheelhouse'
- if [[ $TRAVIS_TAG ]]; then python -m cibuildwheel --output-dir wheelhouse; fi
- if [[ $TRAVIS_TAG ]]; then python3 -m cibuildwheel --output-dir wheelhouse; fi

after_success:
# if the release was tagged, upload them to PyPI
- if [[ $TRAVIS_TAG ]]; then python -m twine upload wheelhouse/*.whl; fi
- if [[ $TRAVIS_TAG ]]; then python3 -m twine upload wheelhouse/*.whl; fi

0 comments on commit e03792a

Please sign in to comment.