language: python
cache: pip
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"
  - "pypy"
install:
  - pip install nose
script: nosetests

dist: xenial
language: python
cache: pip
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"
  - "pypy2.7-6.0"
  - "pypy3.5-6.0"
install:
  - pip install nose
script: nosetests

Fix Python 3.7 Travis testing
Fix Python 3.7 Travis testing

Use 'dist: xenial' in Travis to simplify configuration. Allows using
Python version 3.7 without sudo declarations. Travis officially added
support for Xenial on 2018-11-08.

https://blog.travis-ci.com/2018-11-08-xenial-release
