diff options
Diffstat (limited to 'bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini')
-rw-r--r-- | bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini | 198 |
1 files changed, 198 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini b/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini new file mode 100644 index 0000000000..78beb148aa --- /dev/null +++ b/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini | |||
@@ -0,0 +1,198 @@ | |||
1 | [tox] | ||
2 | envlist = | ||
3 | py27-django1.4-sqlite, | ||
4 | py27-django1.4-postgres, | ||
5 | py27-django1.4-mysql, | ||
6 | |||
7 | py27-django1.5-sqlite, | ||
8 | py27-django1.5-postgres, | ||
9 | py27-django1.5-mysql, | ||
10 | |||
11 | py27-django1.6-sqlite, | ||
12 | py27-django1.6-postgres, | ||
13 | py27-django1.6-mysql, | ||
14 | |||
15 | py27-django1.7-sqlite, | ||
16 | py27-django1.7-postgres, | ||
17 | py27-django1.7-mysql, | ||
18 | |||
19 | py34-django1.6-sqlite, | ||
20 | py34-django1.6-postgres, | ||
21 | #py34-django1.6-mysql | ||
22 | |||
23 | py34-django1.7-sqlite, | ||
24 | py34-django1.7-postgres, | ||
25 | #py34-django1.7-mysql | ||
26 | |||
27 | [testenv] | ||
28 | whitelist_externals= | ||
29 | mysql | ||
30 | psql | ||
31 | |||
32 | # Python 2.7 | ||
33 | # Django 1.4 | ||
34 | [testenv:py27-django1.4-sqlite] | ||
35 | basepython = python2.7 | ||
36 | deps = | ||
37 | django==1.4 | ||
38 | commands = python runtests.py --settings tests.test_sqlite | ||
39 | |||
40 | [testenv:py27-django1.4-postgres] | ||
41 | basepython = python2.7 | ||
42 | deps = | ||
43 | django==1.4 | ||
44 | psycopg2 | ||
45 | commands = | ||
46 | psql -c 'create database aggregation;' postgres | ||
47 | python runtests.py --settings tests.test_postgres | ||
48 | psql -c 'drop database aggregation;' postgres | ||
49 | |||
50 | [testenv:py27-django1.4-mysql] | ||
51 | basepython = python2.7 | ||
52 | deps = | ||
53 | django==1.4 | ||
54 | mysql-python | ||
55 | commands = | ||
56 | mysql -e 'create database aggregation;' | ||
57 | python runtests.py --settings tests.test_mysql | ||
58 | mysql -e 'drop database aggregation;' | ||
59 | |||
60 | # Django 1.5 | ||
61 | [testenv:py27-django1.5-sqlite] | ||
62 | basepython = python2.7 | ||
63 | deps = | ||
64 | django==1.5 | ||
65 | commands = python runtests.py --settings tests.test_sqlite | ||
66 | |||
67 | [testenv:py27-django1.5-postgres] | ||
68 | basepython = python2.7 | ||
69 | deps = | ||
70 | django==1.5 | ||
71 | psycopg2 | ||
72 | commands = | ||
73 | psql -c 'create database aggregation;' postgres | ||
74 | python runtests.py --settings tests.test_postgres | ||
75 | psql -c 'drop database aggregation;' postgres | ||
76 | |||
77 | [testenv:py27-django1.5-mysql] | ||
78 | basepython = python2.7 | ||
79 | deps = | ||
80 | django==1.5 | ||
81 | mysql-python | ||
82 | commands = | ||
83 | mysql -e 'create database aggregation;' | ||
84 | python runtests.py --settings tests.test_mysql | ||
85 | mysql -e 'drop database aggregation;' | ||
86 | |||
87 | # Django 1.6 | ||
88 | [testenv:py27-django1.6-sqlite] | ||
89 | basepython = python2.7 | ||
90 | deps = | ||
91 | django==1.6 | ||
92 | commands = python runtests.py --settings tests.test_sqlite | ||
93 | |||
94 | [testenv:py27-django1.6-postgres] | ||
95 | basepython = python2.7 | ||
96 | deps = | ||
97 | django==1.6 | ||
98 | psycopg2 | ||
99 | commands = | ||
100 | psql -c 'create database aggregation;' postgres | ||
101 | python runtests.py --settings tests.test_postgres | ||
102 | psql -c 'drop database aggregation;' postgres | ||
103 | |||
104 | [testenv:py27-django1.6-mysql] | ||
105 | basepython = python2.7 | ||
106 | deps = | ||
107 | django==1.6 | ||
108 | mysql-python | ||
109 | commands = | ||
110 | mysql -e 'create database aggregation;' | ||
111 | python runtests.py --settings tests.test_mysql | ||
112 | mysql -e 'drop database aggregation;' | ||
113 | |||
114 | |||
115 | # Python 2.7 and Django 1.7 | ||
116 | [testenv:py27-django1.7-sqlite] | ||
117 | basepython = python2.7 | ||
118 | deps = | ||
119 | django==1.7 | ||
120 | commands = python runtests.py --settings tests.test_sqlite | ||
121 | |||
122 | [testenv:py27-django1.7-postgres] | ||
123 | basepython = python2.7 | ||
124 | deps = | ||
125 | django==1.7 | ||
126 | psycopg2 | ||
127 | commands = | ||
128 | psql -c 'create database aggregation;' postgres | ||
129 | python runtests.py --settings tests.test_postgres | ||
130 | psql -c 'drop database aggregation;' postgres | ||
131 | |||
132 | [testenv:py27-django1.7-mysql] | ||
133 | basepython = python2.7 | ||
134 | deps = | ||
135 | django==1.7 | ||
136 | mysql-python | ||
137 | commands = | ||
138 | mysql -e 'create database aggregation;' | ||
139 | python runtests.py --settings tests.test_mysql | ||
140 | mysql -e 'drop database aggregation;' | ||
141 | |||
142 | |||
143 | # Python 3.4 | ||
144 | # Django 1.6 | ||
145 | [testenv:py34-django1.6-sqlite] | ||
146 | basepython = python3.4 | ||
147 | deps = | ||
148 | django==1.6 | ||
149 | commands = python runtests.py --settings tests.test_sqlite | ||
150 | |||
151 | [testenv:py34-django1.6-postgres] | ||
152 | basepython = python3.4 | ||
153 | deps = | ||
154 | django==1.6 | ||
155 | psycopg2 | ||
156 | commands = | ||
157 | psql -c 'create database aggregation;' postgres | ||
158 | python runtests.py --settings tests.test_postgres | ||
159 | psql -c 'drop database aggregation;' postgres | ||
160 | |||
161 | [testenv:py34-django1.6-mysql] | ||
162 | basepython = python3.4 | ||
163 | deps = | ||
164 | django==1.6 | ||
165 | mysql-python3 | ||
166 | commands = | ||
167 | mysql -e 'create database aggregation;' | ||
168 | python runtests.py --settings tests.test_mysql | ||
169 | mysql -e 'drop database aggregation;' | ||
170 | |||
171 | |||
172 | # Python 3.4 | ||
173 | # Django 1.7 | ||
174 | [testenv:py34-django1.7-sqlite] | ||
175 | basepython = python3.4 | ||
176 | deps = | ||
177 | django==1.7 | ||
178 | commands = python runtests.py --settings tests.test_sqlite | ||
179 | |||
180 | [testenv:py34-django1.7-postgres] | ||
181 | basepython = python3.4 | ||
182 | deps = | ||
183 | django==1.7 | ||
184 | psycopg2 | ||
185 | commands = | ||
186 | psql -c 'create database aggregation;' postgres | ||
187 | python runtests.py --settings tests.test_postgres | ||
188 | psql -c 'drop database aggregation;' postgres | ||
189 | |||
190 | [testenv:py34-django1.7-mysql] | ||
191 | basepython = python3.4 | ||
192 | deps = | ||
193 | django==1.7 | ||
194 | mysql-python3 | ||
195 | commands = | ||
196 | mysql -e 'create database aggregation;' | ||
197 | python runtests.py --settings tests.test_mysql | ||
198 | mysql -e 'drop database aggregation;' | ||