dist: trusty
sudo: false
language: python

python:
- 2.7
- &latest_py3 3.6

jobs:
  fast_finish: true
  include:
  - stage: deploy
    if: tag IS present
    python: *latest_py3
    install: skip
    script: skip
    deploy:
      provider: pypi
      on:
        tags: true
        all_branches: true
      user: jaraco
      password:
        secure: 2qUDL9NYdypU3vui6RqEtx5WzbDeqxA34BZaYKE/zY5IH0xwaaXV0dEDJswLMC7onFtHz/NpmMj57tp2ojtQbHuH0JZJiQ5/lRAL1f+BBSQ5e9NA/hL9H/Lf6mfOEH/LUOqjgzQ12l9aaQhKlZ6395Ab+Fx7JrAQYB/v5qwpfj87wXR5sle5deB/uI/6cYKPpztZbGlEwLggbcSkPLpJw8TFz/9Hfw4XJ83eyEroUFuZGS8xbWH4DrGplcPskm5LIQdNvR/Qdyqw2f1tkLzQzc0VXVvf2qs89uwBKBMOSEJa4UmmcTG9FNWda8bLvNUkyXpSQIYIEzPxgOt5IHHzGLUORWM1LFMfWHG9Ns7F1zgUhGSRfspZBGUAiJlJVOrL+3YtNt1ADr0Mp6RBM4VBRfLLXUmKQVjgJ2ond7+DhusZvAKEve2G4dzBAymVyOkz2bmIVXPBzxe/6120e+MPkfsS6UlilZSWIJNd9Z5pYBi9JadFQlL2KO2PMEyOv6ZQFCPB6HB0wCPAZBkq2W1d0NEu77J1mZVGXp7lB/cQR7vWT3gnANrxqiNA4sKS3C56Ts/yW9M3rbOxJZomOz0WDklPRn+4S2wA7kLbmbV2QfOfGq6HThCnniateYC5secZMbN8VLl48sVzkcmrsP6ZSuTSNGLS2CwyAtL/kW8loJk=
      distributions: dists
      skip_cleanup: true
      skip_upload_docs: true

cache: pip

install:
- pip install tox tox-venv

script: tox
