language: python
matrix:
  include:
    - python: '3.8'
      env: TOXENV=flake8

    - python: '3.5'
      env: TOXENV=py35
    - python: '3.6'
      env: TOXENV=py36
    - python: '3.7'
      env: TOXENV=py37
    - python: '3.8'
      env: TOXENV=py38
    # Python 3.9 is not available in Travis yet.
    # - python: '3.9'
    #   env: TOXENV=py39
install:
  - pip install tox
script:
  - tox -v

language: python
matrix:
  include:
    - python: '3.8'
      env: TOXENV=flake8

    - python: '2.7'
      env: TOXENV=py27
    - python: '3.5'
      env: TOXENV=py35
    - python: '3.6'
      env: TOXENV=py36
    - python: '3.7'
      env: TOXENV=py37
    - python: '3.8'
      env: TOXENV=py38
    # Python 3.9 is not available in Travis yet.
    # - python: '3.9'
    #   env: TOXENV=py39
install:
  - pip install tox
script:
  - tox -v

Add Python 2.7 in Travis
Add Python 2.7 in Travis
