Show More
@@ -1,112 +1,112 b'' | |||
|
1 | 1 | [tox] |
|
2 | 2 | envlist = py25-sqlite, |
|
3 | 3 | py25-mysql, |
|
4 | 4 | py25-postgresql, |
|
5 | 5 | py26-sqlite, |
|
6 | 6 | py26-mysql, |
|
7 | 7 | py26-postgresql, |
|
8 | 8 | py27-sqlite, |
|
9 | 9 | py27-mysql, |
|
10 | 10 | py27-postgresql |
|
11 | 11 | |
|
12 | 12 | |
|
13 | 13 | #### PYTHON 2.5 #### |
|
14 | 14 | [testenv:py25-sqlite] |
|
15 | 15 | basepython = |
|
16 | 16 | python2.5 |
|
17 | 17 | commands = |
|
18 | nosetests | |
|
18 | nosetests [] | |
|
19 | 19 | setenv = |
|
20 | 20 | TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
|
21 | 21 | |
|
22 | 22 | [testenv:py25-mysql] |
|
23 | 23 | basepython = |
|
24 | 24 | python2.5 |
|
25 | 25 | commands = |
|
26 | mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;' | |
|
27 | mysql -uroot -pqwe -e 'create database rhodecode_test;' | |
|
28 | nosetests | |
|
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 | 29 | deps = |
|
30 | 30 | mysql-python |
|
31 | 31 | setenv = |
|
32 | 32 | TEST_DB=mysql://root:qwe@localhost/rhodecode_test |
|
33 | 33 | |
|
34 | 34 | [testenv:py25-postgresql] |
|
35 | 35 | basepython = |
|
36 | 36 | python2.5 |
|
37 | 37 | commands = |
|
38 | 38 | psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' |
|
39 | 39 | psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' |
|
40 | nosetests | |
|
40 | nosetests [] | |
|
41 | 41 | deps = |
|
42 | 42 | psycopg2 |
|
43 | 43 | setenv = |
|
44 | 44 | TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test |
|
45 | 45 | |
|
46 | 46 | |
|
47 | 47 | #### PYTHON 2.6 #### |
|
48 | 48 | [testenv:py26-sqlite] |
|
49 | 49 | basepython = |
|
50 | 50 | python2.6 |
|
51 | 51 | commands = |
|
52 | nosetests | |
|
52 | nosetests [] | |
|
53 | 53 | setenv = |
|
54 | 54 | TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
|
55 | 55 | |
|
56 | 56 | [testenv:py26-mysql] |
|
57 | 57 | basepython = |
|
58 | 58 | python2.6 |
|
59 | 59 | commands = |
|
60 | mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;' | |
|
61 | mysql -uroot -pqwe -e 'create database rhodecode_test;' | |
|
62 | nosetests | |
|
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 | 63 | deps = |
|
64 | 64 | mysql-python |
|
65 | 65 | setenv = |
|
66 | 66 | TEST_DB=mysql://root:qwe@localhost/rhodecode_test |
|
67 | 67 | |
|
68 | 68 | [testenv:py26-postgresql] |
|
69 | 69 | basepython = |
|
70 | 70 | python2.6 |
|
71 | 71 | commands = |
|
72 | 72 | psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' |
|
73 | 73 | psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' |
|
74 | nosetests | |
|
74 | nosetests [] | |
|
75 | 75 | deps = |
|
76 | 76 | psycopg2 |
|
77 | 77 | setenv = |
|
78 | 78 | TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test |
|
79 | 79 | |
|
80 | 80 | |
|
81 | 81 | #### PYTHON 2.7 #### |
|
82 | 82 | [testenv:py27-sqlite] |
|
83 | 83 | basepython = |
|
84 | 84 | python2.7 |
|
85 | 85 | commands = |
|
86 | nosetests | |
|
86 | nosetests [] | |
|
87 | 87 | setenv = |
|
88 | 88 | TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
|
89 | 89 | |
|
90 | 90 | [testenv:py27-mysql] |
|
91 | 91 | basepython = |
|
92 | 92 | python2.7 |
|
93 | 93 | commands = |
|
94 | mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;' | |
|
95 | mysql -uroot -pqwe -e 'create database rhodecode_test;' | |
|
96 | nosetests | |
|
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 | 97 | deps = |
|
98 | 98 | mysql-python |
|
99 | 99 | setenv = |
|
100 | 100 | TEST_DB=mysql://root:qwe@localhost/rhodecode_test |
|
101 | 101 | |
|
102 | 102 | [testenv:py27-postgresql] |
|
103 | 103 | basepython = |
|
104 | 104 | python2.7 |
|
105 | 105 | commands = |
|
106 | 106 | psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' |
|
107 | 107 | psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' |
|
108 | nosetests | |
|
108 | nosetests [] | |
|
109 | 109 | deps = |
|
110 | 110 | psycopg2 |
|
111 | 111 | setenv = |
|
112 | 112 | TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now