language: python

python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"

install:
  - pip install tox-travis

script:
  tox

language: python
dist: xenial

python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"

install:
  - pip install tox-travis

script:
  tox

Use xenial distribution for Travis to get Python 3.7
Use xenial distribution for Travis to get Python 3.7

https://github.com/travis-ci/travis-ci/issues/9815
https://github.com/travis-ci/travis-ci/issues/9815#issuecomment-401756442
https://github.com/travis-ci/travis-ci/issues/9815#issuecomment-403142521
