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

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"

Include 3.6-dev and 3.7-dev in CI
Include 3.6-dev and 3.7-dev in CI

3.7-dev? See https://snarky.ca/how-to-use-your-project-travis-to-help-test-python-itself/
Since it's bleeding-edge, 3.7 is allowed to fail for now.
