From cbb58ee4050a201c0125b0b0b1a7c8f162925849 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Fri, 21 Jul 2017 15:20:54 +0800 Subject: fix some bugs for python verify jobs: 1.PYTHON_ENABLE=True does not work in bash The python jobs does not run even we enabled them. The reason is that currently JJB parse the parameter 'PYTHON_ENABLE' as 'True' which does not work in bash. Fix it to compare with [Tt]rue. 2.Install tox if it is not installed 3.support only python3.4 in tox.ini 4.install python3-dev Change-Id: I1a8ebad2fd06fe50ca4f739adb8d6d76caa2963b Signed-off-by: dongwenjuan --- tox.ini | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 2f74083f..e75a3741 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.3.1 -envlist = verify +envlist = py34 skipsdist = True [testenv] @@ -20,7 +20,6 @@ passenv = PROFILER_TYPE PYTHON_ENABLE CI_DEBUG - -[testenv:verify] changedir = {toxinidir}/tests commands = python main.py + -- cgit 1.2.3-korg