sudo: false
language: python
cache: pip
install: ./.travis/install.sh
script:
  - source ~/.venv/bin/activate
  - tox

matrix:
  include:
    - os: linux
      python: 3.6
      env: TOXENV=py36
    - os: linux
      python: 3.6
      env: TOXENV=noextras
    - os: linux
      python: 3.6
      env: TOXENV=docs
    - os: linux
      python: 3.6
      env: TOXENV=packaging
    - os: osx
      language: generic
      env: TOXENV=py36
    - os: linux
      python: 3.7
      env: TOXENV=py37
      dist: xenial
      sudo: true