Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 92 lines (78 sloc) 2.254 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
[tox]
envlist = py26-dev,py27-dev,py25-1.4,py26-1.4,py27-1.4,py25-1.3,py26-1.3,py27-1.3,py25,py26,py27,docs

[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests
commands =
{envbindir}/django-admin.py test core --settings=settings_core
{envbindir}/django-admin.py test basic --settings=settings_basic
#{envbindir}/django-admin.py test complex --settings=settings_complex
{envbindir}/django-admin.py test alphanumeric --settings=settings_alphanumeric
{envbindir}/django-admin.py test slashless --settings=settings_slashless
{envbindir}/django-admin.py test namespaced --settings=settings_namespaced
{envbindir}/django-admin.py test related_resource --settings=settings_related
{envbindir}/django-admin.py test validation --settings=settings_validation

deps =
-r{toxinidir}/tests/requirements.txt
django==1.2.7

[testenv:py26-dev]
basepython = python2.6
deps =
-r{toxinidir}/tests/requirements.txt
https://github.com/django/django/zipball/master

[testenv:py27-dev]
basepython = python2.7
deps =
-r{toxinidir}/tests/requirements.txt
https://github.com/django/django/zipball/master

[testenv:py25-1.4]
basepython = python2.5
deps =
-r{toxinidir}/tests/requirements_25.txt
django==1.4

[testenv:py26-1.4]
basepython = python2.6
deps =
-r{toxinidir}/tests/requirements.txt
django==1.4

[testenv:py27-1.4]
basepython = python2.7
deps =
-r{toxinidir}/tests/requirements.txt
django==1.4

[testenv:py25-1.3]
basepython = python2.5
deps =
-r{toxinidir}/tests/requirements_25.txt
django==1.3.1

[testenv:py26-1.3]
basepython = python2.6
deps =
-r{toxinidir}/tests/requirements.txt
django==1.3.1

[testenv:py27-1.3]
basepython = python2.7
deps =
-r{toxinidir}/tests/requirements.txt
django==1.3.1

[testenv:py25]
basepython = python2.5
deps =
-r{toxinidir}/tests/requirements_25.txt
django==1.2.7

[testenv:py26]
basepython = python2.6
deps =
-r{toxinidir}/tests/requirements.txt
django==1.2.7

[testenv:py27]
basepython = python2.7
deps =
-r{toxinidir}/tests/requirements.txt
django==1.2.7

[testenv:docs]
changedir = docs
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
Something went wrong with that request. Please try again.