language: python
cache: pip
matrix:
  include:
  - os: linux
    dist: xenial
    sudo: false
    python: '2.6'
  - os: linux
    dist: xenial
    sudo: false
    python: '2.7'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.2'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.3'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.4'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.5'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.6'
  - os: linux
    dist: xenial
    sudo: true
    python: '3.7'
  - os: linux
    dist: xenial
    sudo: false
    python: 'nightly'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy3'
install:
  - pip install -r requirements.txt -r devel-requirements.txt -r extra-requirements.txt
  - pip install -e .
script:
  - travis_wait 20 sh runtests.sh

language: python
cache: pip
matrix:
  include:
  - os: linux
    dist: xenial
    sudo: false
    python: '2.7'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.4'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.5'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.6'
  - os: linux
    dist: xenial
    sudo: true
    python: '3.7'
  - os: linux
    dist: xenial
    sudo: false
    python: 'nightly'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy'
  - os: linux
    dist: xenial
    sudo: false
    python: 'pypy3'
install:
  - pip install -r requirements.txt -r devel-requirements.txt -r extra-requirements.txt
  - pip install -e .
script:
  - travis_wait 20 sh runtests.sh

Disable Travis builds for py 2.6, 3.2 & 3.3
Disable Travis builds for py 2.6, 3.2 & 3.3

Seems like they discontinued those.
