summaryrefslogtreecommitdiffstats
path: root/res/tox.ini
diff options
context:
space:
mode:
authorhongyuzhao <zhao.hongyu@zte.com.cn>2019-07-05 17:09:23 +0800
committerhongyuzhao <zhao.hongyu@zte.com.cn>2019-07-05 17:22:14 +0800
commit70b7b98e61ced0d54dbfe4fd028a060366ed92e6 (patch)
tree90b64ea7491af0d54cf4511cbba04367d33b1be5 /res/tox.ini
parentc2036d99659bc9310eee9f275a92aedbdb326bca (diff)
vnfres upgrade from python2 to python3
Change-Id: Ide7c76f81f59a1ccd22c6550ee6c7f68e29cb021 Issue-ID: VFC-1429 Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
Diffstat (limited to 'res/tox.ini')
-rw-r--r--res/tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/tox.ini b/res/tox.ini
index f2cdb3c..13e2837 100644
--- a/res/tox.ini
+++ b/res/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,pep8,cov
+envlist = py36,pep8,cov
skipsdist = true
[tox:jenkins]
@@ -18,9 +18,10 @@ commands = coverage run --branch manage.py test res
deps = flake8
commands = flake8
-[testenv:py27]
+[testenv:py36]
commands =
{[testenv]commands}
[testenv:cov]
+deps = coverage
commands = coverage xml --omit="*test*,*__init__.py,*site-packages*" \ No newline at end of file