language: python

python:
  - "2.7"
  - "3.6"
  - "3.7"

branches:
  only:
    - master

matrix:
  include:
    - python: 2.7
      env: TOXENV=py27-lint
    - python: 2.7
      env: TOXENV=py27-django111
    - python: 3.6
      env: TOXENV=py36-django111
    - python: 3.6
      env: TOXENV=py36-django2
    - python: 3.6
      env: TOXENV=py36-django21
    - python: 3.6
      env: TOXENV=py36-django22
    - python: 3.7
      env: TOXENV=py37-django111
    - python: 3.7
      env: TOXENV=py37-django2
    - python: 3.7
      env: TOXENV=py37-django21
    - python: 3.7
      env: TOXENV=py37-django22

install:
  - pip install tox

script:
  - tox -e $TOXENV

after_success:
  - pip install codecov
  - codecov -e TOXENV

language: python

python:
  - "2.7"
  - "3.6"
  - "3.7"

branches:
  only:
    - master

matrix:
  include:
    - python: 2.7
      env: TOXENV=py27-lint
    - python: 2.7
      env: TOXENV=py27-django111
    - python: 3.6
      env: TOXENV=py36-django111
    - python: 3.6
      env: TOXENV=py36-django2
    - python: 3.6
      env: TOXENV=py36-django21
    - python: 3.6
      env: TOXENV=py36-django22

install:
  - pip install tox

script:
  - tox -e $TOXENV

after_success:
  - pip install codecov
  - codecov -e TOXENV

Remove Python 3.7 for Travis
Remove Python 3.7 for Travis

Removing since it doesn't look like it's supported.
