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