sudo: required
dist: trusty
language: python
matrix:
  include:
    - env: TOXENV=py26
    - env: TOXENV=py27
    - env: TOXENV=py34
    - env: TOXENV=py35
    - env: TOXENV=py36
    - env: TOXENV=py37
      dist: xenial
    - env: TOXENV=pypy
install:
  - scripts/travis.sh
  - make install
  - pip install -r requirements-travis.txt
script:
  - make check
  - make tox
after_success:
  - coveralls
branches:
  except:
    - /^[0-9]/

sudo: required
dist: bionic
language: python
matrix:
  include:
    - env: TOXENV=py26
    - env: TOXENV=py27
    - env: TOXENV=py34
    - env: TOXENV=py35
    - env: TOXENV=py36
    - env: TOXENV=py37
    - env: TOXENV=pypy
install:
  - scripts/travis.sh
  - make install
  - pip install -r requirements-travis.txt
script:
  - make check
  - make tox
after_success:
  - coveralls
branches:
  except:
    - /^[0-9]/

Switch Travis CI from Ubuntu 14.04 to 18.04
Switch Travis CI from Ubuntu 14.04 to 18.04

This is one of the first, small steps towards stabilizing the test suite
on Travis CI before embarking on one or more large refactorings. I'm not
sure how much effort will be involved (to stabilize) but I know of only
one way to find out, so I'll just get started and see where I end up...
