language: python

sudo: false

cache:
    directories:
        - $HOME/.cache/pip

matrix:
  include:
    - python: 2.6
      env: TOXENV=py26
    - python: 2.7
      env: TOXENV=py27
    - python: 3.3
      env: TOXENV=py33
    - python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: 3.6
      env: TOXENV=py36
    - python: pypy
      env: TOXENV=pypy PYPY_VERSION=5.1

install:
    - ./.travis/install.sh

script:
  - source ~/.venv/bin/activate
  - tox

language: python

sudo: false

cache: pip

matrix:
  include:
    - python: 2.6
      env: TOXENV=py26
    - python: 2.7
      env: TOXENV=py27
    - python: 3.3
      env: TOXENV=py33
    - python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: 3.6
      env: TOXENV=py36
    - python: pypy
      env: TOXENV=pypy PYPY_VERSION=5.1

install:
    - ./.travis/install.sh

script:
  - source ~/.venv/bin/activate
  - tox

Use Travis CI built in pip cache support
Use Travis CI built in pip cache support

https://docs.travis-ci.com/user/caching/#pip-cache
