mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-22 13:36:15 +03:00
Add cibuildwheel jobs
This commit is contained in:
parent
33e2557db6
commit
9ae6e3caf1
30
.travis.yml
30
.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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user