X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Ftox.ini;h=54f7ae879139d02a0cbb3b04e5f2374fba4eecd6;hb=46ad7c172411214c5432ed93fda4271288077447;hp=7474134ea1d9c0c879bd9995348c80dfa3a4fae8;hpb=902abebc3b8b2d2925aa816afe84316c7071dcda;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/tox.ini b/lcm/tox.ini index 7474134e..54f7ae87 100644 --- a/lcm/tox.ini +++ b/lcm/tox.ini @@ -1,12 +1,13 @@ [tox] -envlist = py27,pep8,cov +envlist = py36,pep8,cov skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip [flake8] -ignore = E501,E722 +ignore = E501,E722,W504 +exclude = ./venv-tox,./.tox max-complexity = 27 [testenv] @@ -17,9 +18,10 @@ commands = coverage run --branch manage.py test lcm deps = flake8 commands = flake8 -[testenv:py27] +[testenv:py36] commands = {[testenv]commands} [testenv:cov] -commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov +deps = coverage +commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"