Mercurial > kallithea
annotate tox.ini @ 3628:c734686b3cf2 beta
moved permission management into separate entity.
- this solves issues when whole form submision could influence permission management
particular case is that when repo group permission is revoked and user is no longer able to update repository settings
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 28 Mar 2013 02:11:26 +0100 |
parents | c1c66976001a |
children | 17e3926c3753 |
rev | line source |
---|---|
2546 | 1 [tox] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
2 envlist = py25-sqlite, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
3 py25-mysql, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
4 py25-postgresql, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
5 py26-sqlite, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
6 py26-mysql, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
7 py26-postgresql, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
8 py27-sqlite, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
9 py27-mysql, |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
10 py27-postgresql |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
11 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
12 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
13 #### PYTHON 2.5 #### |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
14 [testenv:py25-sqlite] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
15 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
16 python2.5 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
17 commands = |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
18 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
19 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
20 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
2546 | 21 |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
22 [testenv:py25-mysql] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
23 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
24 python2.5 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
25 commands = |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
26 mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' |
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
27 mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' |
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
28 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
29 deps = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
30 mysql-python |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
31 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
32 TEST_DB=mysql://root:qwe@localhost/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
33 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
34 [testenv:py25-postgresql] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
35 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
36 python2.5 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
37 commands = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
38 psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
39 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
40 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
41 deps = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
42 psycopg2 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
43 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
44 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
45 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
46 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
47 #### PYTHON 2.6 #### |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
48 [testenv:py26-sqlite] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
49 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
50 python2.6 |
2546 | 51 commands = |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
52 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
53 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
54 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
55 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
56 [testenv:py26-mysql] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
57 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
58 python2.6 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
59 commands = |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
60 mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' |
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
61 mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' |
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
62 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
63 deps = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
64 mysql-python |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
65 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
66 TEST_DB=mysql://root:qwe@localhost/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
67 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
68 [testenv:py26-postgresql] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
69 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
70 python2.6 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
71 commands = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
72 psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
73 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
74 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
75 deps = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
76 psycopg2 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
77 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
78 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
79 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
80 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
81 #### PYTHON 2.7 #### |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
82 [testenv:py27-sqlite] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
83 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
84 python2.7 |
2546 | 85 commands = |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
86 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
87 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
88 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
2546 | 89 |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
90 [testenv:py27-mysql] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
91 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
92 python2.7 |
2546 | 93 commands = |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
94 mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' |
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
95 mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' |
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
96 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
97 deps = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
98 mysql-python |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
99 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
100 TEST_DB=mysql://root:qwe@localhost/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
101 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
102 [testenv:py27-postgresql] |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
103 basepython = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
104 python2.7 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
105 commands = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
106 psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
107 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' |
2587
c1c66976001a
added optional args to tox script, and fixed mysql commands
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
108 nosetests [] |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
109 deps = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
110 psycopg2 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
111 setenv = |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2546
diff
changeset
|
112 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test |