* ignore migrations
* install dev requirements, as the dev settings are used
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephenfinucane@hotmail.com>
basepython = python2.7
deps =
coverage
- -r{toxinidir}/requirements-prod.txt
+ -r{toxinidir}/requirements-dev.txt
setenv =
DJANGO_SETTINGS_MODULE = patchwork.settings.dev
commands =
coverage erase
- coverage run --omit=*tox*,patchwork/tests/*.py,manage.py --branch \
- {toxinidir}/manage.py test --noinput patchwork
+ coverage run --omit=*tox*,patchwork/tests/*.py,manage.py,patchwork/migrations/*.py \
+ --branch {toxinidir}/manage.py test --noinput patchwork
coverage report -m