summaryrefslogtreecommitdiffstats
path: root/newton/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'newton/tox.ini')
-rw-r--r--newton/tox.ini19
1 files changed, 7 insertions, 12 deletions
diff --git a/newton/tox.ini b/newton/tox.ini
index 919ad18f..70ca1ae5 100644
--- a/newton/tox.ini
+++ b/newton/tox.ini
@@ -6,15 +6,10 @@ skipsdist = true
downloadcache = ~/cache/pip
[testenv]
-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 html --omit=".tox/*,*tests*,*__init__.py"
- coverage report --omit=".tox/*,*tests*,*__init__.py" --fail-under=30
- coverage xml -i
+setenv =
+ PYTHONPATH = {toxinidir}/../share
+deps = -r{toxinidir}/requirements.txt
+commands =
+ coverage run --branch manage.py test
+ coverage report --omit=".tox/*,*tests*,*__init__.py" --fail-under=30
+ coverage xml -i