From 39239fea14af08293c7e0f3b503dd218b3b590d8 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Oct 10 2017 12:24:09 +0000 Subject: travis: make tests fail if pep8 does not pass Reviewed-By: Rob Crittenden --- diff --git a/.travis.yml b/.travis.yml index 556232a..a2d942b 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