forked from django-guardian/django-guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
84 lines (73 loc) · 1.46 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]
envlist =
py26,
py26-grappelli,
py26-django12,
py26-django12-grappelli,
py27,
py27-grappelli,
py27-django12,
py27-django12-grappelli,
docs,
[testenv]
commands = python setup.py test
deps =
django==1.3.1
mock==0.7.2
[testenv:mysql]
setenv =
GUARDIAN_TEST_DB_BACKEND=mysql
commands = python setup.py test
deps =
django==1.3.1
mock==0.7.2
MySQL-python==1.2.3
[testenv:postgresql]
setenv =
GUARDIAN_TEST_DB_BACKEND=postgresql
commands = python setup.py test
deps =
django==1.3.1
mock==0.7.2
psycopg2==2.4.1
# psycopg2==2.4.2 has troubles with test runner, see: https://code.djangoproject.com/ticket/16250
[testenv:py26-grappelli]
basepython = python2.6
deps =
django==1.3.1
mock==0.7.2
django-grappelli==2.3.5
[testenv:py26-django12]
basepython = python2.6
deps =
django==1.2.7
mock==0.7.2
[testenv:py26-django12-grappelli]
basepython = python2.6
deps =
django==1.2.7
mock==0.7.2
django-grappelli==2.3.5
[testenv:py27-grappelli]
basepython = python2.7
deps =
django==1.3.1
mock==0.7.2
django-grappelli==2.3.5
[testenv:py27-django12]
basepython = python2.7
deps =
django==1.2.7
mock==0.7.2
[testenv:py27-django12-grappelli]
basepython = python2.7
deps =
django==1.2.7
mock==0.7.2
django-grappelli==2.3.5
[testenv:docs]
changedir = docs
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html