language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"
  # - "3.9"
  - "nightly"
  - "pypy3"

matrix:
  include:
    - stage: codecheck
      python: 3.8
      install:
        - pip install flake8
      script:
        - flake8 sqlparse
      after_success: skip

install:
  - pip install -Uq pytest pytest-cov codecov
  - pytest --version

script:
  - pytest --cov=sqlparse

after_success:
    - codecov

language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"
  - "3.9-dev"
  - "nightly"
  - "pypy3"

matrix:
  include:
    - stage: codecheck
      python: 3.8
      install:
        - pip install flake8
      script:
        - flake8 sqlparse
      after_success: skip

install:
  - pip install -Uq pytest pytest-cov codecov
  - pytest --version

script:
  - pytest --cov=sqlparse

after_success:
    - codecov

Add Python 3.9-dev to Travis configuration.
Add Python 3.9-dev to Travis configuration.

Python 3.9 hasn't landed yet on Travis, but nightly is already 3.10.
