summaryrefslogtreecommitdiffstats
path: root/fcaps/tox.ini
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-08-27 03:52:08 +0000
committerBin Yang <bin.yang@windriver.com>2019-08-27 04:50:43 +0000
commit7a31c2e438da2d165f473f7428cee7d2164312df (patch)
treeace10c3428b58f2d8d2066978964ed80478279d6 /fcaps/tox.ini
parent4a42f215d7009fc825bbff5b120913f21660ee59 (diff)
Fix py3 related issue
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'fcaps/tox.ini')
-rw-r--r--fcaps/tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/fcaps/tox.ini b/fcaps/tox.ini
index 7710e46c..6467f0d8 100644
--- a/fcaps/tox.ini
+++ b/fcaps/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,cov,pylint
+envlist = py36,cov,pylint
skipsdist = true
[tox:jenkins]
@@ -11,6 +11,10 @@ exclude = ./venv-tox,./.tox
max-complexity = 27
[testenv]
+basepython =
+ py36: python3
+ cov: python3
+ pylint: python3
setenv =
PYTHONPATH = {toxinidir}/../share
deps =
@@ -22,7 +26,7 @@ commands =
[testenv:pep8]
deps=flake8
-commands=flake8
+commands=python3 -m flake8
[testenv:cov]
commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"