language: python

matrix:
  include:
    - python: 2.6
    - python: 2.7
    - python: 3.2
    - python: 3.3
    - python: 3.4
    - python: 3.5
    - python: 3.6
    - python: 3.7
      dist: xenial
      sudo: required
    - python: nightly
    - python: pypy
  allow_failures:
    - python: nightly

install: pip install --upgrade pip setuptools

script: python setup.py test

language: python

matrix:
  include:
    - python: 2.6
    - python: 2.7
    - python: 3.2
    - python: 3.3
    - python: 3.4
    - python: 3.5
    - python: 3.6
    - python: 3.7
      dist: xenial
      sudo: required
    - python: nightly
    - python: pypy
  allow_failures:
    - python: nightly

script: python setup.py test

Revert "Upgrade pip and setuptools"
Revert "Upgrade pip and setuptools"

This reverts commit 1f59fcd98668954099dc0b97cda813c3d93084e6.
