From 9ae6e3caf1cfb1e12b60066e57b71b1d997396df Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Wed, 1 Jul 2020 17:43:43 -0400 Subject: [PATCH] Add cibuildwheel jobs --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.travis.yml b/.travis.yml index d088acbe..c1b9011d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,6 +54,36 @@ jobs: env: TOXENV=pypy3 install: pip install tox script: tox + - services: docker + install: python3 -m pip install cibuildwheel==1.5.1 + script: python3 -m cibuildwheel --output-dir wheelhouse + after_success: + - | + if [[ $TRAVIS_TAG ]]; then + python3 -m pip install twine + python3 -m twine upload wheelhouse/*.whl + fi + - os: osx + language: shell + install: python3 -m pip install cibuildwheel==1.5.1 + script: python3 -m cibuildwheel --output-dir wheelhouse + after_success: + - | + if [[ $TRAVIS_TAG ]]; then + python3 -m pip install twine + python3 -m twine upload wheelhouse/*.whl + fi + - os: windows + language: shell + before_install: + - choco install python --version 3.8.0 + - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" + after_success: + - | + if [[ $TRAVIS_TAG ]]; then + python3 -m pip install twine + python3 -m twine upload wheelhouse/*.whl + fi notifications: slack: rooms: