language: python
python:
    - 3.5
    - 3.6
    - 3.6-dev
    - 3.7-dev
install: pip install -e .
script: python setup.py test

matrix:
  allow_failures:
    python: "3.7-dev"

language: python
cache: pip
python:
    - 3.5
    - 3.6
    - 3.6-dev
    - 3.7-dev
install: pip install -e .
script: python setup.py test

matrix:
  allow_failures:
    python: "3.7-dev"

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

Can speed up builds and reduce load on PyPI servers.

For more information, see:

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