mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-20 10:14:00 +01:00
24 lines
475 B
INI
24 lines
475 B
INI
[tox]
|
|
envlist = py27
|
|
|
|
[testenv]
|
|
changedir=test_project
|
|
commands =
|
|
python ../tests.py
|
|
coverage run --source ../modoboa manage.py test modoboa.core modoboa.lib modoboa.admin.tests modoboa.limits modoboa.relaydomains
|
|
deps =
|
|
-r{toxinidir}/test-requirements.txt
|
|
coverage
|
|
psycopg2
|
|
setenv =
|
|
DB=SQLITE
|
|
|
|
[testenv:serve]
|
|
changedir=test_project
|
|
commands =
|
|
python manage.py migrate --no-input
|
|
python manage.py runserver
|
|
setenv =
|
|
DB=SQLITE
|
|
DEBUG=1
|