[tox]
envlist =
    {py27,py34,py35}-{1.5,1.6.1.7,1.8,1.9,1.10}

[testenv]
basepython =
    py27: python2.7
    py34: python3.4
    py35: python3.5
commands=python setup.py test
deps =
    1.5: Django>=1.5,<1.6
    1.6: Django>=1.6,<1.7
    1.7: Django>=1.7,<1.8
    1.8: Django>=1.8,<1.9
    1.9: Django>=1.9,<1.10
    1.10: Django>=1.10,<1.11

[tox]
envlist =
    {py27,py34,py35,py36}-{1.5,1.6.1.7,1.8,1.9,1.10,1.11}

[testenv]
basepython =
    py27: python2.7
    py34: python3.4
    py35: python3.5
    py36: python3.6
commands=python setup.py test
deps =
    1.5: Django>=1.5,<1.6
    1.6: Django>=1.6,<1.7
    1.7: Django>=1.7,<1.8
    1.8: Django>=1.8,<1.9
    1.9: Django>=1.9,<1.10
    1.10: Django>=1.10,<1.11
    1.11: Django>=1.11,<2.0

Include Python 3.6 and Django 1.11
Include Python 3.6 and Django 1.11