Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Fix CI on MacOS (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Yutkin committed Feb 13, 2020
1 parent 02422a4 commit 0fd79d8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,16 @@ jobs:
- python3 get-pip.py

install:
- pip install -U pip
- pip install cibuildwheel==1.0.0 twine==1.15.0
- pip install -r requirements.txt
- python3 -m pip install -U pip
- python3 -m pip install cibuildwheel==1.1.0 twine==1.15.0
- python3 -m pip install -r requirements.txt

script:
- cibuildwheel --output-dir wheelhouse
- ls -l wheelhouse
- python3 -m pip list
- |
if [[ $TRAVIS_TAG ]]; then
rm -rf dist && python setup.py sdist
rm -rf dist && python3 setup.py sdist
twine upload -u __token__ -p $PYPI_TOKEN --skip-existing dist/*.tar.gz wheelhouse/*.whl
fi

0 comments on commit 0fd79d8

Please sign in to comment.