Skip to content

Commit

Permalink
Add deploy to PyPI from Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Aug 2, 2019
1 parent e9b7095 commit 7fb5871
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .travis.yml
@@ -1,18 +1,24 @@
# http://about.travis-ci.org/docs/user/languages/python/
language: python
python:
- 2.7
- 3.5
- 3.6
- 3.7

- 2.7
- 3.5
- 3.6
- 3.7
install:
- python setup.py install
- pip install coveralls flake8

- python setup.py install
- pip install coveralls flake8
script:
- python setup.py test
- flake8 mwclient

- python setup.py test
- flake8 mwclient
after_success:
- coveralls
- coveralls
deploy:
provider: pypi
user: danmichaelo
password:
secure: iRaoF9UNIIzwNR2SP60zL7Ub33lgCTYddk4JkpfNNjz/olZaUEGTbrpttq1wQ9thzwYBgp6PbwspgEdIQWOgDLlT75XowkeLpp7UzRNwKjf7gUVaMJuAYtmhbofaWZFGft3zSbsDEt19z8mqepQXSUUN7dcfH4QVUvishElQT5k=
distributions: "sdist bdist_wheel"
on:
tags: true
repo: mwclient/mwclient
python: '3.7'

0 comments on commit 7fb5871

Please sign in to comment.