language: python
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
python:
  - "3.6"
  - "3.7"
  - "3.8"
  - "3.9"
  - "3.9-dev"
  - "pypy3.5"

matrix:
  fast_finish: true
  allow_failures:
    - python: '3.9-dev'

dist:
  - xenial

install:
  - travis_retry pip install --upgrade pip setuptools
  - travis_retry pip install -r requirements.txt
  - travis_retry pip install -r test-requirements.txt
  - python setup.py --version

# Run test
script:
  - pytest -vv

language: python
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
python:
  - "3.6"
  - "3.7"
  - "3.8"
  - "3.9"
  - "3.9-dev"
  - "pypy3.5"

matrix:
  fast_finish: true
  allow_failures:
    - python: '3.9-dev'

dist:
  - focal

install:
  - travis_retry pip install --upgrade pip setuptools
  - travis_retry pip install -r requirements.txt
  - travis_retry pip install -r test-requirements.txt
  - python setup.py --version

# Run test
script:
  - pytest -vv

Use newer Ubuntu for Travis
Use newer Ubuntu for Travis
