From 847873b5bd5228bb9f59636b7cd7f67cefdf6005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=A0?= Date: Tue, 12 May 2020 15:06:14 +0200 Subject: [PATCH] Add auto-publishing to PyPI --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 24fc8ad2..bf56c274 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,5 +34,15 @@ script: after_success: - if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls --use-mirrors ; coveralls ; fi +# publish new version to pypi +deploy: + provider: pypi + skip_existing: true + on: + tags: true + user: $PYPI_USER + password: $PYPI_PASSWORD + distributions: "sdist bdist_wheel" + notifications: email: false