Mercurial > kallithea
comparison tox.ini @ 2776:63e58ef80ef1
Merge beta branch into stable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 02 Sep 2012 21:19:54 +0200 |
parents | c1c66976001a |
children | 17e3926c3753 |
comparison
equal
deleted
inserted
replaced
2301:9d097c2592d3 | 2776:63e58ef80ef1 |
---|---|
1 [tox] | |
2 envlist = py25-sqlite, | |
3 py25-mysql, | |
4 py25-postgresql, | |
5 py26-sqlite, | |
6 py26-mysql, | |
7 py26-postgresql, | |
8 py27-sqlite, | |
9 py27-mysql, | |
10 py27-postgresql | |
11 | |
12 | |
13 #### PYTHON 2.5 #### | |
14 [testenv:py25-sqlite] | |
15 basepython = | |
16 python2.5 | |
17 commands = | |
18 nosetests [] | |
19 setenv = | |
20 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite | |
21 | |
22 [testenv:py25-mysql] | |
23 basepython = | |
24 python2.5 | |
25 commands = | |
26 mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' | |
27 mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' | |
28 nosetests [] | |
29 deps = | |
30 mysql-python | |
31 setenv = | |
32 TEST_DB=mysql://root:qwe@localhost/rhodecode_test | |
33 | |
34 [testenv:py25-postgresql] | |
35 basepython = | |
36 python2.5 | |
37 commands = | |
38 psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' | |
39 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' | |
40 nosetests [] | |
41 deps = | |
42 psycopg2 | |
43 setenv = | |
44 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test | |
45 | |
46 | |
47 #### PYTHON 2.6 #### | |
48 [testenv:py26-sqlite] | |
49 basepython = | |
50 python2.6 | |
51 commands = | |
52 nosetests [] | |
53 setenv = | |
54 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite | |
55 | |
56 [testenv:py26-mysql] | |
57 basepython = | |
58 python2.6 | |
59 commands = | |
60 mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' | |
61 mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' | |
62 nosetests [] | |
63 deps = | |
64 mysql-python | |
65 setenv = | |
66 TEST_DB=mysql://root:qwe@localhost/rhodecode_test | |
67 | |
68 [testenv:py26-postgresql] | |
69 basepython = | |
70 python2.6 | |
71 commands = | |
72 psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' | |
73 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' | |
74 nosetests [] | |
75 deps = | |
76 psycopg2 | |
77 setenv = | |
78 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test | |
79 | |
80 | |
81 #### PYTHON 2.7 #### | |
82 [testenv:py27-sqlite] | |
83 basepython = | |
84 python2.7 | |
85 commands = | |
86 nosetests [] | |
87 setenv = | |
88 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite | |
89 | |
90 [testenv:py27-mysql] | |
91 basepython = | |
92 python2.7 | |
93 commands = | |
94 mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' | |
95 mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' | |
96 nosetests [] | |
97 deps = | |
98 mysql-python | |
99 setenv = | |
100 TEST_DB=mysql://root:qwe@localhost/rhodecode_test | |
101 | |
102 [testenv:py27-postgresql] | |
103 basepython = | |
104 python2.7 | |
105 commands = | |
106 psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' | |
107 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' | |
108 nosetests [] | |
109 deps = | |
110 psycopg2 | |
111 setenv = | |
112 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test |