diff options
author | 2018-03-12 03:23:34 +0000 | |
---|---|---|
committer | 2018-03-12 03:23:34 +0000 | |
commit | cc66925f30debaeb720d3a189b3e06cbb681f6fa (patch) | |
tree | 529f277a03b381d9d971ff00bab670936b4acee5 /newton/tox.ini | |
parent | 8bddebb95d3f42eaf3da5523a2a07d3b2da5447a (diff) | |
parent | 51fde27c2a12f525e94ecd3a83238a46215d9392 (diff) |
Merge "newton use share library"
Diffstat (limited to 'newton/tox.ini')
-rw-r--r-- | newton/tox.ini | 19 |
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 |