Pylint results should be piped.

In the event of a pylint failure, we need to cat the log. This will also
ensure that the remaining scripts in the job can run.
This commit is contained in:
Ben Patterson
2015-10-29 14:32:10 -04:00
parent af832a76bf
commit 8833db6a56

View File

@@ -66,7 +66,7 @@ case "$TEST_SUITE" in
echo "Finding pep8 violations and storing report..."
paver run_pep8 > pep8.log || { cat pep8.log; EXIT=1; }
echo "Finding pylint violations and storing in report..."
paver run_pylint -l $PYLINT_THRESHOLD || { cat pylint.log; EXIT=1; }
paver run_pylint -l $PYLINT_THRESHOLD > pylint.log || { cat pylint.log; EXIT=1; }
mkdir -p reports
echo "Finding jshint violations and storing report..."