aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorOlivia.Zhan <zhan.jie1@zte.com.cn>2019-07-12 10:40:38 +0800
committerOlivia.Zhan <zhan.jie1@zte.com.cn>2019-07-12 11:09:03 +0800
commit74602ff5cc299a5071a26cec6719435d39658062 (patch)
treea0a2434858f8c919a048b409c5c2c58d9fda3179 /tox.ini
parent22185d6f712a6b76bd4757961eed8baf62d81e71 (diff)
Update python2 to python3 for catalog
Issue-ID: VFC-1429 Signed-off-by: Olivia.Zhan <zhan.jie1@zte.com.cn> Change-Id: I9b7bd50c0a750c046643e4a8df46e12165eaa4c1
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index fcc6330e..3745940f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,pep8,cov
+envlist = py36,pep8,cov
skipsdist = true
[tox:jenkins]
@@ -17,9 +17,10 @@ commands = coverage run --branch manage.py test catalog
deps = flake8
commands = flake8
-[testenv:py27]
+[testenv:py36]
commands =
{[testenv]commands}
[testenv:cov]
+deps = coverage
commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"