diff --git a/.travis.yml b/.travis.yml index e2c607e68206f182802933798625303b3f3d4bb4..4f197f259d36e547756afa57b3895e8d9a3a3282 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: python stages: - name: test - + - name: deploy + if: tag is present cache: pip before_script: - python setup.py install @@ -18,3 +19,10 @@ jobs: python: "3.9" - stage: test python: "pypy3.5" + - stage: deploy + python: "3.8" + script: + - pip install wheel twine + - python setup.py bdist bdist_wheel + - twine upload -u $PYPI_USER -p $PYPI_PWD dist/* +