dist: trusty
sudo: false
language: python
matrix:
  include:
    - python: 2.7
    - python: 3.4
    - python: 3.5
    - python: 3.6
    - python: 3.7
      dist: xenial
      sudo: true

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: python setup.py install
# command to run tests, e.g. python setup.py test
script: python setup.py test

dist: trusty
sudo: false
language: python
matrix:
  include:
    - python: 2.7
    - python: 3.4
    - python: 3.5
    - python: 3.6
    - python: 3.7
      dist: xenial
      sudo: true

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
  - pip install "setuptools>=40"
  - python setup.py install
# command to run tests, e.g. python setup.py test
script: python setup.py test

Fix Travis failing to install dateutil for Python 3.4.
Fix Travis failing to install dateutil for Python 3.4.
