travis: make tests fail if pep8 does not pass
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
3b5e979334
commit
209bb27712
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user