Update the Django version to 2.2.27
[vfc/nfvo/driver/vnfm/svnfm.git] / zte / vmanager / tox.ini
index 2d18a62..0086ffc 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,pep8,cov
+envlist = py36,pep8,cov
 skipsdist = true
  
 [testenv]
@@ -8,15 +8,17 @@ commands = coverage run --branch manage.py test
 
 [flake8]
 ignore =  E501,E722
+exclude = ./venv-tox,./.tox,./venv
 max-complexity = 12
 
 [testenv:pep8]
 deps = flake8
 commands = flake8
 
-[testenv:py27]
+[testenv:py36]
 commands =
   {[testenv]commands}
 
 [testenv:cov]
-commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov
\ No newline at end of file
+deps = coverage==4.2
+commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"
\ No newline at end of file