language: python
python: 2.7

install:
  - pip install requests
  - pip install tox

script:
  - tox

env:
  - TOXENV=py27
  - TOXENV=py34
  - TOXENV=py35
  - TOXENV=docs

language: python

matrix:
  include:
    - { python: '2.7', env: TOXENV=py27 }
    - { python: '3.4', env: TOXENV=py34 }
    - { python: '3.5', env: TOXENV=py35 }
    - { python: '3.6', env: TOXENV=py36 }
    - { python: '3.6', env: TOXENV=docs }

install:
  - pip install requests
  - pip install tox

script:
  - tox

Update Travis config: Fix Python versions
Update Travis config: Fix Python versions

This runs each Tox env with the right base Python version.