mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-22 13:36:15 +03:00
Point twine to testpypi
This commit is contained in:
parent
9ae6e3caf1
commit
471cd467d8
11
.travis.yml
11
.travis.yml
|
@ -55,34 +55,39 @@ jobs:
|
|||
install: pip install tox
|
||||
script: tox
|
||||
- services: docker
|
||||
env: TWINE_USERNAME=__token__
|
||||
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
|
||||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||
fi
|
||||
- os: osx
|
||||
language: shell
|
||||
env: TWINE_USERNAME=__token__
|
||||
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
|
||||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||
fi
|
||||
- os: windows
|
||||
language: shell
|
||||
env: TWINE_USERNAME=__token__
|
||||
before_install:
|
||||
- choco install python --version 3.8.0
|
||||
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
|
||||
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
|
||||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||
fi
|
||||
notifications:
|
||||
slack:
|
||||
|
|
Loading…
Reference in New Issue
Block a user