language: python
sudo: false
matrix:
  include:
    - python: 2.7
      env: TOXENV=py27
    - python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: 3.6
      env: TOXENV=py36
    - python: 3.7
      env: TOXENV=py37
      dist: xenial          # required for Python >= 3.7
    - python: pypy
      env: TOXENV=pypy
install:
  - travis_retry pip install virtualenv tox
script:
  - travis_retry tox

language: python
sudo: false
matrix:
  include:
    - python: 2.7
      env: TOXENV=py27
    - python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: 3.6
      env: TOXENV=py36
    - python: 3.7
      env: TOXENV=py37
      dist: xenial          # required for Python >= 3.7
    - python: pypy
      env: TOXENV=pypy
install:
  # tox is pinned for python 3.4 support
  - travis_retry pip install tox==3.14.0
script:
  - travis_retry tox

Fix running tests on Python 3.4
Fix running tests on Python 3.4
