URL: https://github.com/freeipa/freeipa/pull/1139
Author: stlaz
 Title: #1139: [Backport][ipa-4-6]  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-6 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1139/head:pr1139
git checkout pr1139
From bfbe8d6412af0d65c86e139cc43cd097636a5d9c 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 556232a17a..a2d942b294 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
_______________________________________________
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