sudo: false
language: python
cache: pip
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.5-dev"
  - "3.6"
  - "3.6-dev"
  - "nightly"
matrix:
  allow_failures:
    - python: "nightly"
install:
  - pip install -U pip setuptools
  - pip install tox-travis pre-commit
  - pip install codecov
script:
  - tox
  - pre-commit run --all-files
after_success:
  - codecov