Add PyPI deployment

This commit is contained in:
Jason R. Coombs 2016-04-02 21:46:39 -04:00
parent 65b649869b
commit 752b1096b8

View File

@ -1,8 +1,18 @@
sudo: false sudo: false
language: python language: python
python: python:
- 2.7 - 2.7
- 3.5 - 3.5
script: script:
- pip install -U pytest - pip install -U pytest
- python setup.py test - python setup.py test
deploy:
provider: pypi
on:
tags: true
all_branches: true
user: jaraco
provider: pypi
# supply password with `travis encrypt --add deploy.password`
distributions: release
python: 3.5