[tox]
downloadcache = {toxworkdir}/_download/
envlist = py32-1.6.X,py26-1.6.X,py32-1.5.X,py26-1.5.X,py26-1.4.X,py26-1.3.X,docs

[testenv]
commands = {envpython} runtests.py

[testenv:py32-1.6.X]
basepython = python3.2
deps = https://www.djangoproject.com/download/1.6a1/tarball/

[testenv:py26-1.6.X]
basepython = python2.6
deps = https://www.djangoproject.com/download/1.6a1/tarball/

[testenv:py32-1.5.X]
basepython = python3.2
deps = django>=1.5,<1.6

[testenv:py26-1.5.X]
basepython = python2.6
deps = django>=1.5,<1.6

[testenv:py26-1.4.X]
basepython = python2.6
deps = django>=1.4,<1.5

[testenv:py26-1.3.X]
basepython = python2.6
deps = django>=1.3,<1.4

[testenv:docs]
basepython = python2.6
deps = Sphinx==1.1.3
commands =
    {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html

[tox]
downloadcache = {toxworkdir}/_download/
envlist = py32-1.6.X,py26-1.6.X,py32-1.5.X,py26-1.5.X,py26-1.4.X,docs

[testenv]
commands = {envpython} runtests.py

[testenv:py32-1.6.X]
basepython = python3.2
deps = django>=1.6,<1.7

[testenv:py26-1.6.X]
basepython = python2.6
deps = django>=1.6,<1.7

[testenv:py32-1.5.X]
basepython = python3.2
deps = django>=1.5,<1.6

[testenv:py26-1.5.X]
basepython = python2.6
deps = django>=1.5,<1.6

[testenv:py26-1.4.X]
basepython = python2.6
deps = django>=1.4.2,<1.5

[testenv:docs]
basepython = python2.6
deps = Sphinx==1.1.3
commands =
    {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html

Use stable 1.6 releases. Drop 1.3 support.
Use stable 1.6 releases. Drop 1.3 support.
