diff options
author | Haibin Huang <haibin.huang@intel.com> | 2019-07-11 08:22:04 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2019-08-15 05:26:26 +0000 |
commit | 6068af3fd3513fb330bdf98f53b63bea909281e1 (patch) | |
tree | 775cca85e8c7fc63e9d1edd2b31ccbde80432a6c /pike/tox.ini | |
parent | 0f9836f80ea187a1cef23f570f8505c54b19fdcf (diff) |
upgrading python2 to python3 for openstack plugin
Issue-ID: MULTICLOUD-702
Change-Id: I9ac26b51a4be7d70d368dd039bfe1b7857114793
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'pike/tox.ini')
-rw-r--r-- | pike/tox.ini | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pike/tox.ini b/pike/tox.ini index c5e9e5c0..d4f5d579 100644 --- a/pike/tox.ini +++ b/pike/tox.ini @@ -13,7 +13,7 @@ # limitations under the License. [tox] -envlist = py27,pep8,cov,pylint +envlist = py35,pep8,cov,pylint skipsdist = true [tox:jenkins] @@ -25,6 +25,11 @@ exclude = ./venv-tox,./.tox max-complexity = 27 [testenv] +basepython = + py35: python3.5 + pep8: python3.5 + cov: python3.5 + pylint: python3.5 setenv = PYTHONPATH = {toxinidir}/../share deps = @@ -36,7 +41,7 @@ commands = [testenv:pep8] deps=flake8 -commands=flake8 +commands=python3.5 -m flake8 [testenv:cov] commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*" |