diff --git a/.travis.yml b/.travis.yml index 2b6f2bf..7e64c1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,17 @@ before_install: script: - pytest - python setup.py bdist_wheel - +deploy: + - provider: releases + api_key: $GITHUB_OAUTH_TOKEN + file: dist/*.whl + file_glob: true + skip_cleanup: true + on: + tags: true + - provider: pypi + user: bwanamarko + password: $PYPI_PASSWORD + distributions: "sdist bdist_wheel" # Your distributions here + on: + tags: true