[tox]
distribute = False
envlist =
    readme,
    1.4.X,
    1.5.X,
    py33-1.5.X,
    master

[testenv]
downloadcache = {toxworkdir}/_download/
commands =
    {envbindir}/python {envbindir}/django-admin.py test {posargs:django_navtag}
setenv =
    DJANGO_SETTINGS_MODULE = django_navtag.test_settings

[testenv:readme]
deps =
    docutils
commands =
    rst2html.py --exit-status=2 README.rst readme.html

[testenv:1.4.X]
basepython = python2.7
deps =
    Django<1.5

[testenv:1.5.X]
basepython = python2.7
deps =
    Django<1.6

[testenv:py33-1.5.X]
basepython = python3.3
deps =
    Django<1.6

[testenv:master]
basepython = python2.7
deps =
    https://github.com/django/django/zipball/master
commands =
    {envbindir}/python {envbindir}/django-admin.py test {posargs:django_navtag.tests}

[tox]
distribute = False
envlist =
    readme,
    1.4.X,
    1.5.X,
    py33-1.5.X,
    master

[testenv]
downloadcache = {toxworkdir}/_download/
commands =
    {envbindir}/python {envbindir}/django-admin.py test {posargs:django_navtag}
setenv =
    DJANGO_SETTINGS_MODULE = django_navtag.test_settings

[testenv:readme]
deps =
    docutils
whitelist_externals = mkdir
commands =
    mkdir -p {envtmpdir}
    rst2html.py --exit-status=2 README.rst {envtmpdir}/readme.html

[testenv:1.4.X]
basepython = python2.7
deps =
    Django<1.5

[testenv:1.5.X]
basepython = python2.7
deps =
    Django<1.6

[testenv:py33-1.5.X]
basepython = python3.3
deps =
    Django<1.6

[testenv:master]
basepython = python2.7
deps =
    https://github.com/django/django/zipball/master
commands =
    {envbindir}/python {envbindir}/django-admin.py test {posargs:django_navtag.tests}

Write test readme.html to temp dir
Write test readme.html to temp dir
