From 0ebef628463f30ea2fd74d876e9b4939977828fe Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Fri, 11 Sep 2015 07:05:56 +0000 Subject: [PATCH] Travis: no fail on pep8 --- pep8.travis.sh | 12 ++++++++++++ tox.ini | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 pep8.travis.sh diff --git a/pep8.travis.sh b/pep8.travis.sh new file mode 100755 index 000000000..ccac0a435 --- /dev/null +++ b/pep8.travis.sh @@ -0,0 +1,12 @@ +#!/bin/sh +pep8 \ + setup.py \ + acme \ + letsencrypt \ + letsencrypt-apache \ + letsencrypt-nginx \ + letsencrypt-compatibility-test \ + letshelp-letsencrypt \ + || echo "PEP8 checking failed, but it's ignored in Travis" + +# echo exits with 0 diff --git a/tox.ini b/tox.ini index f278c4bb5..2596050bc 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,7 @@ basepython = python2.7 # continue, but tox return code will reflect previous error commands = pip install -r requirements.txt -e acme -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx -e letsencrypt-compatibility-test -e letshelp-letsencrypt - pep8 setup.py acme letsencrypt letsencrypt-apache letsencrypt-nginx letsencrypt-compatibility-test letshelp-letsencrypt + ./pep8.travis.sh pylint --rcfile=.pylintrc letsencrypt pylint --rcfile=.pylintrc acme/acme pylint --rcfile=.pylintrc letsencrypt-apache/letsencrypt_apache