fix coverage with tox
[auf_django_secretquestions.git] / tox.ini
1 [tox]
2 envlist = django1.3, django1.4
3
4 [testenv]
5 deps =
6 django-registration==0.8
7 coverage
8
9 commands =
10 coverage erase
11 coverage run --source="{envsitepackagesdir}/secretquestions/" {envdir}/bin/django-admin.py test secretquestions --settings=secretquestions.tests.settings
12 coverage report
13
14 [testenv:django1.3]
15 deps =
16 {[testenv]deps}
17 django==1.3
18
19 [testenv:django1.4]
20 deps =
21 {[testenv]deps}
22 django==1.4