language: python
sudo: false
python:
    - 2.7
    - 3.4
    - 3.5
    - 3.6
    - pypy
    - pypy3
matrix:
    include:
        - python: 3.7
          dist: xenial
          sudo: true
env:
    - FORCE_TEST_VCS=bzr
    - FORCE_TEST_VCS=git
    - FORCE_TEST_VCS=hg
    - FORCE_TEST_VCS=svn
install:
    - pip install coverage coveralls mock flake8
script:
    - SKIP_NO_TESTS=1 coverage run setup.py test -q
    - coverage report -m
    - python check_manifest.py
    - flake8 *.py
after_script:
    - coveralls
notifications:
    email: false

language: python
sudo: false
cache: pip
python:
    - 2.7
    - 3.4
    - 3.5
    - 3.6
    - pypy
    - pypy3
matrix:
    include:
        - python: 3.7
          dist: xenial
          sudo: true
env:
    - FORCE_TEST_VCS=bzr
    - FORCE_TEST_VCS=git
    - FORCE_TEST_VCS=hg
    - FORCE_TEST_VCS=svn
install:
    - pip install coverage coveralls mock flake8
script:
    - SKIP_NO_TESTS=1 coverage run setup.py test -q
    - coverage report -m
    - python check_manifest.py
    - flake8 *.py
after_script:
    - coveralls
notifications:
    email: false

Enable pip cache in Travis CI
Enable pip cache in Travis CI

Reduce load on PyPI servers and slightly speed up builds.

For more information, see:

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