aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--setup.py3
-rw-r--r--tox.ini8
2 files changed, 8 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 867cb64..3aad92b 100644
--- a/setup.py
+++ b/setup.py
@@ -62,11 +62,10 @@ setup(
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
- 'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
- 'Operating System :: OS Independent',
+ 'Operating System :: POSIX :: Linux'
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
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