Permalink
Browse files

added optional args to tox script, and fixed mysql commands

--HG--
branch : beta
  • Loading branch information...
1 parent 52dc857 commit 5936c902c021da8ab20bea8017267534f5536ff8 @marcinkuzminski committed Jul 10, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 tox.ini
View
30 tox.ini
@@ -15,17 +15,17 @@ envlist = py25-sqlite,
basepython =
python2.5
commands =
- nosetests
+ nosetests []
setenv =
TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
[testenv:py25-mysql]
basepython =
python2.5
commands =
- mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;'
- mysql -uroot -pqwe -e 'create database rhodecode_test;'
- nosetests
+ mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;'
+ mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;'
+ nosetests []
deps =
mysql-python
setenv =
@@ -37,7 +37,7 @@ basepython =
commands =
psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;'
psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
- nosetests
+ nosetests []
deps =
psycopg2
setenv =
@@ -49,17 +49,17 @@ setenv =
basepython =
python2.6
commands =
- nosetests
+ nosetests []
setenv =
TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
[testenv:py26-mysql]
basepython =
python2.6
commands =
- mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;'
- mysql -uroot -pqwe -e 'create database rhodecode_test;'
- nosetests
+ mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;'
+ mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;'
+ nosetests []
deps =
mysql-python
setenv =
@@ -71,7 +71,7 @@ basepython =
commands =
psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;'
psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
- nosetests
+ nosetests []
deps =
psycopg2
setenv =
@@ -83,17 +83,17 @@ setenv =
basepython =
python2.7
commands =
- nosetests
+ nosetests []
setenv =
TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
[testenv:py27-mysql]
basepython =
python2.7
commands =
- mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;'
- mysql -uroot -pqwe -e 'create database rhodecode_test;'
- nosetests
+ mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;'
+ mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;'
+ nosetests []
deps =
mysql-python
setenv =
@@ -105,7 +105,7 @@ basepython =
commands =
psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;'
psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
- nosetests
+ nosetests []
deps =
psycopg2
setenv =

0 comments on commit 5936c90

Please sign in to comment.