diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2019-11-29 13:13:37 +0800 |
---|---|---|
committer | Lianhao Lu <lianhao.lu@intel.com> | 2019-11-29 13:13:37 +0800 |
commit | 8767846c931ee9cef818ced06f790dabeae535ca (patch) | |
tree | 100722a271937563ec401d8df76ffc119f4f1f88 | |
parent | bb1373afb3144be5f8590c0e5c0b0b04c54afc14 (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.py | 3 | ||||
-rw-r--r-- | tox.ini | 8 |
2 files changed, 8 insertions, 3 deletions
@@ -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', @@ -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 |