forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
144 lines (124 loc) · 2.53 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[deps]
base =
django-compressor>=1.4
django-libsass>=0.2
libsass==0.5.1
django-modelcluster>=0.3
django-taggit==0.12.1
django-treebeard==2.0
Pillow>=2.3.0
beautifulsoup4>=4.3.2
html5lib==0.999
Unidecode>=0.04.14
six==1.7.3
requests==2.3.0
elasticsearch==1.1.0
mock==1.0.1
python-dateutil==2.2
pytz==2014.7
Embedly
coverage
dj17 =
Django>=1.7,<1.8
dj171 =
Django==1.7.1
py2 =
unicodecsv>=0.9.4
py3 =
[tox]
skipsdist = True
usedevelop = True
envlist =
py27-dj17-postgres,
py27-dj17-sqlite,
py32-dj17-postgres,
py32-dj17-sqlite,
py33-dj17-postgres,
py33-dj17-sqlite,
py34-dj17-postgres,
py34-dj17-sqlite
# mysql not currently supported
# (wagtail.wagtailimages.tests.TestImageEditView currently fails with a
# foreign key constraint error)
# py26-dj16-mysql
# py27-dj16-mysql
[testenv]
commands=coverage run runtests.py
[testenv:py27-dj17-postgres]
basepython=python2.7
deps =
{[deps]base}
{[deps]py2}
{[deps]dj17}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py27-dj17-sqlite]
basepython=python2.7
deps =
{[deps]base}
{[deps]py2}
{[deps]dj171}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
[testenv:py27-dj17-mysql]
basepython=python2.7
deps =
{[deps]base}
{[deps]py2}
{[deps]dj17}
MySQL-python==1.2.5
setenv =
DATABASE_ENGINE=django.db.backends.mysql
DATABASE_USER=wagtail
[testenv:py32-dj17-postgres]
basepython=python3.2
deps =
{[deps]base}
{[deps]py3}
{[deps]dj17}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py32-dj17-sqlite]
basepython=python3.2
deps =
{[deps]base}
{[deps]py3}
{[deps]dj171}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
[testenv:py33-dj17-postgres]
basepython=python3.3
deps =
{[deps]base}
{[deps]py3}
{[deps]dj17}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py33-dj17-sqlite]
basepython=python3.3
deps =
{[deps]base}
{[deps]py3}
{[deps]dj171}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
[testenv:py34-dj17-postgres]
basepython=python3.4
deps =
{[deps]base}
{[deps]py3}
{[deps]dj17}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py34-dj17-sqlite]
basepython=python3.4
deps =
{[deps]base}
{[deps]py3}
{[deps]dj171}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3