2017-09-18 22:05:16 +00:00
|
|
|
dist: trusty
|
2015-12-20 03:29:56 +00:00
|
|
|
sudo: false
|
|
|
|
language: python
|
2017-09-18 22:05:16 +00:00
|
|
|
|
2017-11-15 15:26:38 +00:00
|
|
|
python:
|
|
|
|
- 2.7
|
|
|
|
- &latest_py3 3.6
|
|
|
|
|
2017-09-18 22:05:16 +00:00
|
|
|
jobs:
|
|
|
|
fast_finish: true
|
2017-11-16 18:17:16 +00:00
|
|
|
include:
|
2017-09-18 22:05:16 +00:00
|
|
|
- stage: deploy
|
|
|
|
if: tag IS present
|
|
|
|
python: *latest_py3
|
|
|
|
install: skip
|
|
|
|
script: skip
|
|
|
|
deploy:
|
|
|
|
provider: pypi
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
all_branches: true
|
|
|
|
user: jaraco
|
2017-09-21 20:36:17 +00:00
|
|
|
password:
|
|
|
|
secure: ... # encrypt password with `travis encrypt`
|
2017-09-18 22:05:16 +00:00
|
|
|
distributions: dists
|
|
|
|
skip_cleanup: true
|
|
|
|
skip_upload_docs: true
|
|
|
|
|
|
|
|
cache: pip
|
|
|
|
|
2016-09-28 16:29:05 +00:00
|
|
|
install:
|
2018-01-29 14:06:00 +00:00
|
|
|
- pip install tox tox-venv
|
2017-09-18 22:05:16 +00:00
|
|
|
|
|
|
|
script: tox
|