Permalink
Browse files

Fix tox serve command (#1463)

* Fix tox serve command
* Fix tests fail on travis
  • Loading branch information...
kryskool committed Apr 12, 2018
1 parent c095f11 commit 3b4cf12e687a955b8004d184a4079e8709b68ca8
Showing with 6 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 .travis.yml
  3. +0 −2 test-requirements.txt
  4. +3 −0 tox.ini
@@ -11,6 +11,7 @@ DEV
.ropeproject
modoboa.iml
.tox
.eggs/
modoboa_test
.coverage
build/
@@ -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:
@@ -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
@@ -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

0 comments on commit 3b4cf12

Please sign in to comment.