language: python
cache: pip
matrix:
  include:
  - os: linux
    dist: xenial
    sudo: false
    python: '2.6'
  - os: linux
    dist: xenial
    sudo: false
    python: '2.7'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.2'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.3'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.4'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.5'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.6'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.7-dev'
  - os: linux
    dist: xenial
    sudo: false
    python: 'nightly'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy3'
install:
  - pip install codecov
  - pip install -r requirements.txt -r devel-requirements.txt
  - pip install -e .
script:
  - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
after_success:
  - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
  - codecov

language: python
cache: pip
matrix:
  include:
  - os: linux
    dist: xenial
    sudo: false
    python: '2.6'
  - os: linux
    dist: xenial
    sudo: false
    python: '2.7'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.2'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.3'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.4'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.5'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.6'
  - os: linux
    dist: xenial
    sudo: true
    python: '3.7'
  - os: linux
    dist: xenial
    sudo: false
    python: 'nightly'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy3'
install:
  - pip install codecov
  - pip install -r requirements.txt -r devel-requirements.txt
  - pip install -e .
script:
  - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
after_success:
  - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
  - codecov

Switch back to offical Python 3.7 build
Switch back to offical Python 3.7 build

It appears that Python 3.7 use in Travis-CI is finally
fixed. However, it requires use of xenial distribution
and sudo: true. Those have now been added to the matrix.
