URL: https://github.com/freeipa/freeipa/pull/1140
Author: stlaz
 Title: #1140: [Backport][ipa-4-5]  travis: make tests fail if pep8 does not 
pass 
Action: opened

PR body:
"""
This PR was opened automatically because PR #1122 was pushed to master and 
backport to ipa-4-5 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1140/head:pr1140
git checkout pr1140
From ada9c07aa5ee76bacc6b49ca69d28ed3cde80188 Mon Sep 17 00:00:00 2001
From: Stanislav Laznicka <slazn...@redhat.com>
Date: Tue, 3 Oct 2017 12:41:45 +0200
Subject: [PATCH] travis: make tests fail if pep8 does not pass

---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 7d77070936..2887b008ba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,6 +39,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
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to