From 99a3a00c24bb0b7da666ae699f49826c2b593ef2 Mon Sep 17 00:00:00 2001 From: hugovk Date: Thu, 28 Aug 2014 17:23:39 +0300 Subject: [PATCH] Also pep8/pyflakes *.py in parent dir --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 783974b53..d0ba64c50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ after_success: # gather the coverage data - lcov --capture --directory . -b . --output-file coverage.info # filter to remove system headers - - lcov --remove coverage.info '/usr/*' -o coverage.filtered.info + - lcov --remove coverage.info '/usr/*' -o coverage.filtered.info # convert to json - coveralls-lcov -v -n coverage.filtered.info > coverage.c.json @@ -53,8 +53,10 @@ after_success: - pip install pep8 pyflakes + - pep8 --statistics --count *.py - pep8 --statistics --count PIL/*.py - pep8 --statistics --count Tests/*.py + - pyflakes *.py | tee >(wc -l) - pyflakes PIL/*.py | tee >(wc -l) - pyflakes Tests/*.py | tee >(wc -l)