Point twine to testpypi

This commit is contained in:
Roman Mogylatov 2020-07-01 17:45:56 -04:00
parent 9ae6e3caf1
commit 471cd467d8

View File

@ -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: