summaryrefslogtreecommitdiffstats
path: root/newton/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'newton/tox.ini')
-rw-r--r--newton/tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/newton/tox.ini b/newton/tox.ini
index 71a8ff75..d5eb878e 100644
--- a/newton/tox.ini
+++ b/newton/tox.ini
@@ -6,7 +6,13 @@ skipsdist = true
downloadcache = ~/cache/pip
[testenv]
-deps = -r{toxinidir}/requirements.txt
+passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage run --branch manage.py test
+
+[testenv:cover]
+commands =
coverage report --omit=".tox/*,*tests*,*__init__.py" --fail-under=30