language: python

matrix:
  include:
    - python: 3.6
    - python: 3.7
    - python: 3.8
    - python: 3.9

install:
  - pip install -U setuptools pip pipenv
  - pipenv install
script:
  - pipenv run test

jobs:
  include:
    - if: branch = master
      stage: deploy-docs
      python: 3.9
      install:
        - pip install -U setuptools pip pipenv
        - pipenv install -d
      script:
        - mkdocs build --verbose --clean --strict
      deploy:
        provider: pages
        skip_cleanup: true
        github_token: $GH_TOKEN
        local_dir: site
        on:
          branch: master

language: python

matrix:
  include:
    - python: 3.6
    - python: 3.7
    - python: 3.8

install:
  - pip install -U setuptools pip pipenv
  - pipenv install
script:
  - pipenv run test

jobs:
  include:
    - if: branch = master
      stage: deploy-docs
      python: 3.8
      install:
        - pip install -U setuptools pip pipenv
        - pipenv install -d
      script:
        - mkdocs build --verbose --clean --strict
      deploy:
        provider: pages
        skip_cleanup: true
        github_token: $GH_TOKEN
        local_dir: site
        on:
          branch: master

Revert "Add Python 3.9 to the build matrix"
Revert "Add Python 3.9 to the build matrix"

This reverts commit 693d40cc
