-
Notifications
You must be signed in to change notification settings - Fork 80
/
tox.ini
84 lines (64 loc) · 1.82 KB
/
tox.ini
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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py26, py27, py32, py33, pypy,
py26-django-1.4, py27-django-1.4, pypy-django-1.4,
py26-django-1.5, py27-django-1.5, py32-django-1.5, py33-django-1.5, pypy-django-1.5,
py26-django-1.7, py27-django-1.7, py32-django-1.7, py33-django-1.7, pypy-django-1.7,
doc
[testenv]
commands = {envpython} manage.py test djangojs
deps = django>=1.6
[django-1.5]
deps = django>=1.5,<1.6
[django-1.4]
deps = django>=1.4,<1.5
[django-1.7]
deps = https://www.djangoproject.com/download/1.7c1/tarball/
[testenv:py26-django-1.4]
basepython = python2.6
deps = {[django-1.4]deps}
[testenv:py27-django-1.4]
basepython = python2.7
deps = {[django-1.4]deps}
[testenv:pypy-django-1.4]
basepython = pypy
deps = {[django-1.4]deps}
[testenv:py26-django-1.5]
basepython = python2.6
deps = {[django-1.5]deps}
[testenv:py27-django-1.5]
basepython = python2.7
deps = {[django-1.5]deps}
[testenv:py32-django-1.5]
basepython = python3.2
deps = {[django-1.5]deps}
[testenv:py33-django-1.5]
basepython = python3.3
deps = {[django-1.5]deps}
[testenv:pypy-django-1.5]
basepython = pypy
deps = {[django-1.5]deps}
[testenv:py26-django-1.7]
basepython = python2.6
deps = {[django-1.7]deps}
[testenv:py27-django-1.7]
basepython = python2.7
deps = {[django-1.7]deps}
[testenv:py32-django-1.7]
basepython = python3.2
deps = {[django-1.7]deps}
[testenv:py33-django-1.7]
basepython = python3.3
deps = {[django-1.7]deps}
[testenv:pypy-django-1.7]
basepython = pypy
deps = {[django-1.7]deps}
[testenv:doc]
changedir = doc
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html