language: python
sudo: false
env: PYTHON=python3

git:
  submodules: false

matrix:
  include:
    - dist: xenial
      python: 3.5
    - dist: xenial
      python: 3.6
    - dist: xenial
      python: 3.7
    - dist: bionic
      python: 3.8
    - os: osx
      language: generic
    - os: windows
      language: shell
      env: PYTHON=/c/Python38/python

install:
  - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y python; fi
  - $PYTHON -m pip install --upgrade -e.[test]

script:
  - $PYTHON setup.py test
