language: python
dist: xenial
os: linux

jobs:
  include:
    - python: 2.7
    - python: pypy
    - python: 3.6
    - python: pypy3
    - os: osx
      language: generic
      env:
      - PYTHON_VERSION=2.7.10
      - PYENV_ROOT=~/.pyenv
      - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin:$PYENV_ROOT/versions/2.7.10/bin
    - os: osx
      language: generic
      env:
      - PYTHON_VERSION=3.6.10
      - PYENV_ROOT=~/.pyenv
      - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin:$PYENV_ROOT/versions/3.6.10/bin

install:
  - bash .travis-${TRAVIS_OS_NAME}.sh
  - pip install --upgrade pip
  - pip install pytest
  - pip install --editable .

script:
  - make test

language: python
dist: xenial
os: linux

jobs:
  include:
    - python: 2.7
    - python: pypy
    - python: 3.6
    - python: 3.8
    - python: pypy3
    - os: osx
      language: generic
      env:
      - PYTHON_VERSION=2.7.10
      - PYENV_ROOT=~/.pyenv
      - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin:$PYENV_ROOT/versions/2.7.10/bin
    - os: osx
      language: generic
      env:
      - PYTHON_VERSION=3.6.10
      - PYENV_ROOT=~/.pyenv
      - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin:$PYENV_ROOT/versions/3.6.10/bin

install:
  - bash .travis-${TRAVIS_OS_NAME}.sh
  - pip install --upgrade pip
  - pip install pytest
  - pip install --editable .

script:
  - make test

Add 3.8 to the build matrix
feat(py3): Add 3.8 to the build matrix

