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