From: zhifeng.jiang Date: Wed, 18 May 2016 07:23:06 +0000 (-0400) Subject: Add the pep8 check in parser verify X-Git-Tag: colorado.1.0~443 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=3942c39c0b7b460a40571b70b5647bf147b298b3;p=releng.git Add the pep8 check in parser verify JIRA:RELENG-110 Change-Id: I5c877d558bb04255a9e99dbe3459fba40217232c Signed-off-by: zhifeng.jiang --- diff --git a/jjb/parser/parser.yml b/jjb/parser/parser.yml index 5e603f026..2ab1af833 100644 --- a/jjb/parser/parser.yml +++ b/jjb/parser/parser.yml @@ -58,4 +58,15 @@ builders: - shell: | - echo "Nothing to verify!" + #/bin/bash + set -o errexit + set -o pipefail + set -o xtrace + export PATH=$PATH:/usr/local/bin/ + + # pep8 check parser/tosca2heat/tosca-parser + echo "Running tox -e pep8 on tosca2heat ..." + cd $WORKSPACE/parser/tosca2heat/tosca-parser + tox -e pep8 + cd $WORKSPACE/parser/tosca2heat/heat-translator + tox -e pep8