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)