language: python
os: linux
dist: xenial

matrix:
  include:
    - env: NOXSESSION=docs
    - env: NOXSESSION=lint
    - python: 3.6
      env: NOXSESSION=test-3.6
    - python: 3.7
      env: NOXSESSION=test-3.7
    - python: 3.8
      env: NOXSESSION=test-3.8

install: pip install nox
script: nox

language: python
os: linux
dist: xenial
python: 3.8

matrix:
  include:
    - env: NOXSESSION=docs
    - env: NOXSESSION=lint
    - python: 3.6
      env: NOXSESSION=test-3.6
    - python: 3.7
      env: NOXSESSION=test-3.7
    - python: 3.8
      env: NOXSESSION=test-3.8

install: pip install nox
script: nox

Use Python 3.8 on Travis CI
Use Python 3.8 on Travis CI
