mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-08 13:53:21 +03:00
Merge pull request #594 from hugovk/master
Add coverage reports for Python code on Travis CI
This commit is contained in:
commit
5dc5d2db66
13
.travis.yml
13
.travis.yml
|
@ -17,6 +17,7 @@ python:
|
||||||
install:
|
install:
|
||||||
- "sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev cmake"
|
- "sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev cmake"
|
||||||
- "pip install cffi"
|
- "pip install cffi"
|
||||||
|
- "pip install coveralls"
|
||||||
|
|
||||||
# webp
|
# webp
|
||||||
- pushd depends && ./install_webp.sh && popd
|
- pushd depends && ./install_webp.sh && popd
|
||||||
|
@ -25,10 +26,18 @@ install:
|
||||||
- pushd depends && ./install_openjpeg.sh && popd
|
- pushd depends && ./install_openjpeg.sh && popd
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- coverage erase
|
||||||
- python setup.py clean
|
- python setup.py clean
|
||||||
- python setup.py build_ext --inplace
|
- python setup.py build_ext --inplace
|
||||||
- python selftest.py
|
- coverage run --append --include=PIL/* selftest.py
|
||||||
- python Tests/run.py
|
- coverage run --append --include=PIL/* Tests/run.py
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- coverage report
|
||||||
|
- coveralls
|
||||||
|
- pip install pep8 pyflakes
|
||||||
|
- pep8 PIL/*.py
|
||||||
|
- pyflakes PIL/*.py
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user