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 /tox.ini | |
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>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |