Skip to content

Commit 847873b

Browse files
authored
Add auto-publishing to PyPI
1 parent ea3ba0d commit 847873b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,15 @@ script:
3434
after_success:
3535
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls --use-mirrors ; coveralls ; fi
3636

37+
# publish new version to pypi
38+
deploy:
39+
provider: pypi
40+
skip_existing: true
41+
on:
42+
tags: true
43+
user: $PYPI_USER
44+
password: $PYPI_PASSWORD
45+
distributions: "sdist bdist_wheel"
46+
3747
notifications:
3848
email: false

0 commit comments

Comments
 (0)