From 209bb2771260589d2dba690aa3eab750069d6803 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Tue, 3 Oct 2017 12:41:45 +0200 Subject: [PATCH] travis: make tests fail if pep8 does not pass Reviewed-By: Rob Crittenden --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 556232a17..a2d942b29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,6 +59,7 @@ install: script: - mkdir -p $CI_RUNNER_LOGS_DIR - travis_wait 50 ./.travis_run_task.sh + - test -z "`cat $PEP8_ERROR_LOG`" after_failure: - echo "Test runner output:"; tail -n $CI_BACKLOG_SIZE $CI_RESULTS_LOG - echo "PEP-8 errors:"; cat $PEP8_ERROR_LOG