Code Review
/
vfc
/
nfvo
/
lcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
add test for create ns if no csar id
[vfc/nfvo/lcm.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
ba77d2f
..
cd62443
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-1,13
+1,14
@@
[tox]
[tox]
-envlist = py
27,pep8
+envlist = py
36,pep8,cov
skipsdist = true
[tox:jenkins]
downloadcache = ~/cache/pip
[flake8]
skipsdist = true
[tox:jenkins]
downloadcache = ~/cache/pip
[flake8]
-ignore = E501
-exclude = ./venv-tox,./.tox
+ignore = E501,E722
+exclude = ./venv-tox,./.tox
+max-complexity = 27
[testenv]
deps = -r{toxinidir}/requirements.txt
[testenv]
deps = -r{toxinidir}/requirements.txt
@@
-17,6
+18,10
@@
commands = coverage run --branch manage.py test lcm
deps = flake8
commands = flake8
deps = flake8
commands = flake8
-[testenv:py
27
]
+[testenv:py
36
]
commands =
{[testenv]commands}
commands =
{[testenv]commands}
+
+[testenv:cov]
+deps = coverage
+commands = coverage xml --omit="*test_*,*__init__.py,*site-packages*"