Fix tox serve command (#1463)

* Fix tox serve command
* Fix tests fail on travis
This commit is contained in:
Christophe CHAUVET
2018-04-12 19:26:35 +02:00
committed by GitHub
parent c095f11191
commit 3b4cf12e68
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ DEV
.ropeproject
modoboa.iml
.tox
.eggs/
modoboa_test
.coverage
build/
+2
View File
@@ -36,6 +36,8 @@ install:
- pip install -r requirements.txt
- pip install -r ldap-requirements.txt
- pip install -r test-requirements.txt
- if [ $DB = POSTGRESQL ]; then pip install -r postgresql-requirements.txt ; fi
- if [ $DB = MYSQL ]; then pip install -r mysql-requirements.txt ; fi
- python setup.py develop
before_script:
-2
View File
@@ -3,5 +3,3 @@ mock==2.0.0; python_version < '3.3'
httmock==1.2.5
testfixtures==4.7.0
tox
psycopg2-binary>=2.7.4
mysqlclient>=1.3.3
+3
View File
@@ -9,8 +9,11 @@ commands =
coverage report --show-missing
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
coverage
postgres: -r{toxinidir}/postgresql-requirements.txt
mysql: -r{toxinidir}/mysql-requirements.txt
setenv =
COVERAGE_FILE={envdir}/.coverage
DB=SQLITE