aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2019-11-29 13:13:37 +0800
committerLianhao Lu <lianhao.lu@intel.com>2019-11-29 13:13:37 +0800
commit8767846c931ee9cef818ced06f790dabeae535ca (patch)
tree100722a271937563ec401d8df76ffc119f4f1f88 /tox.ini
parentbb1373afb3144be5f8590c0e5c0b0b04c54afc14 (diff)
Added both python 2/3 unit test in tox
Change-Id: I97cd872fa2b67b07d459a0f5c1dd1e4aa634f876 Issue-ID: VNFSDK-532 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 2567eaf..3fa6109 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@
#
[tox]
-envlist=py27
+envlist=py27,py3
[testenv]
passenv =
@@ -33,3 +33,9 @@ commands =
coverage xml --omit=".tox/*,tests/*"
coverage report --omit=".tox/*,tests/*"
#pytest tests --cov-report term-missing --cov vnfsdk_pkgtools
+
+[testenv:py27]
+basepython = python2
+
+[testenv:py3]
+basepython = python3