parent
88d315ae9a
commit
835393c93e
1 changed files with 29 additions and 20 deletions
@ -1,23 +1,32 @@ |
|||||||
|
dist: trusty |
||||||
sudo: false |
sudo: false |
||||||
language: python |
language: python |
||||||
python: |
|
||||||
- 2.7 |
jobs: |
||||||
- 3.6 |
fast_finish: true |
||||||
|
include: |
||||||
|
- python: 2.7 |
||||||
|
- python: &latest_py3 3.6 |
||||||
|
- stage: deploy |
||||||
|
if: tag IS present |
||||||
|
python: *latest_py3 |
||||||
|
install: skip |
||||||
|
script: skip |
||||||
|
before_deploy: python bootstrap.py |
||||||
|
deploy: |
||||||
|
provider: pypi |
||||||
|
on: |
||||||
|
tags: true |
||||||
|
all_branches: true |
||||||
|
user: jaraco |
||||||
|
# supply password with `travis encrypt --add deploy.password` |
||||||
|
distributions: dists |
||||||
|
skip_cleanup: true |
||||||
|
skip_upload_docs: true |
||||||
|
|
||||||
|
cache: pip |
||||||
|
|
||||||
install: |
install: |
||||||
- pip install tox "setuptools>=28.2" |
- pip install tox |
||||||
script: |
|
||||||
- tox |
script: tox |
||||||
branches: |
|
||||||
except: |
|
||||||
- skeleton |
|
||||||
deploy: |
|
||||||
provider: pypi |
|
||||||
server: https://upload.pypi.org/legacy/ |
|
||||||
on: |
|
||||||
tags: true |
|
||||||
all_branches: true |
|
||||||
python: 3.6 |
|
||||||
user: jaraco |
|
||||||
# supply password with `travis encrypt --add deploy.password` |
|
||||||
distributions: dists |
|
||||||
skip_upload_docs: true |
|
||||||
|
Loading…
Reference in new issue