mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
run pep8/pyflakes on all non-docker builds
This commit is contained in:
parent
426f8d68b1
commit
02e077aa48
|
@ -13,14 +13,16 @@ coverage report
|
|||
pip install coveralls-merge
|
||||
coveralls-merge coverage.c.json
|
||||
|
||||
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && [ "$DOCKER" == "" ]; then
|
||||
if [ "$DOCKER" == "" ]; then
|
||||
pip install pep8 pyflakes
|
||||
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)
|
||||
fi
|
||||
|
||||
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && [ "$DOCKER" == "" ]; then
|
||||
# Coverage and quality reports on just the latest diff.
|
||||
# (Installation is very slow on Py3, so just do it for Py2.)
|
||||
depends/diffcover-install.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user