language: python

python:
  - "2.7"

env:
  - TOXENV=py27

install:
  - pip install tox --use-mirrors

script:
    - tox

branches:
  only:
    - master

language: python

python:
  - "2.7"
  - "3.6"

env:
  - DJANGO=15
  - DJANGO=16
  - DJANGO=17
  - DJANGO=18
  - DJANGO=19
  - DJANGO=110
  - DJANGO=111

install:
  - pip install tox
  - export TOXENV=py${TRAVIS_PYTHON_VERSION//./}-django${DJANGO}

script:
    - tox -e ${TOXENV}

Add various Django configurations + Python 3.6
Add various Django configurations + Python 3.6