vfclcm upgrade from python2 to python3
[vfc/gvnfm/vnflcm.git] / lcm / tox.ini
index 62a7adf..54f7ae8 100644 (file)
@@ -1,12 +1,12 @@
 [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
 
@@ -18,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*"