summaryrefslogtreecommitdiffstats
path: root/vio/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'vio/tox.ini')
-rw-r--r--vio/tox.ini15
1 files changed, 14 insertions, 1 deletions
diff --git a/vio/tox.ini b/vio/tox.ini
index bf5d800..966b7bb 100644
--- a/vio/tox.ini
+++ b/vio/tox.ini
@@ -7,8 +7,21 @@ downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/requirements.txt
-commands = coverage run --branch manage.py test vio
+commands =
+ /usr/bin/find . -type f -name "*.py[c|o]" -delete
+ python manage.py test vio
[testenv:pep8]
deps=flake8
commands=flake8
+
+[testenv:py27]
+commands =
+ {[testenv]commands}
+
+[testenv:cover]
+setenv=
+ DJANGO_SETTINGS_MODULE = vio.settings-cover
+commands =
+ coverage erase
+ {[testenv]commands}