Add coverage report

This commit is contained in:
hugovk 2014-04-02 11:00:43 +03:00
parent 1e53f1ad96
commit d514c1fb64

View File

@ -4,8 +4,8 @@ language: python
virtualenv:
system_site_packages: true
notifications:
irc: "chat.freenode.net#pil"
# notifications:
# irc: "chat.freenode.net#pil"
python:
- 2.6
@ -14,21 +14,26 @@ python:
- 3.3
- "pypy"
install:
install:
- "sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev cmake"
- "pip install cffi"
- "pip install coveralls"
# webp
# webp
- pushd depends && ./install_webp.sh && popd
# openjpeg
- pushd depends && ./install_openjpeg.sh && popd
script:
- coverage erase
- python setup.py clean
- python setup.py build_ext --inplace
- python selftest.py
- python Tests/run.py
- coverage run --append selftest.py
- coverage run --append Tests/run.py
after_success:
- coveralls
matrix:
allow_failures: