Merge pull request #2300 from hugovk/coverage-test

Reinstate Python+C coverage and send to Coveralls
This commit is contained in:
wiredfool 2016-12-27 10:25:37 +00:00 committed by GitHub
commit e48d41ea91

View File

@ -17,13 +17,14 @@ python:
- nightly - nightly
dist: trusty dist: trusty
install: install:
- "travis_retry sudo apt-get update" - "travis_retry sudo apt-get update"
- "travis_retry sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev libjpeg-turbo-progs cmake imagemagick" - "travis_retry sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev libjpeg-turbo-progs cmake imagemagick"
- "travis_retry pip install cffi" - "travis_retry pip install cffi"
- "travis_retry pip install nose" - "travis_retry pip install nose"
- "travis_retry pip install check-manifest" - "travis_retry pip install check-manifest"
- "travis_retry pip install olefile"
# Pyroma tests sometimes hang on PyPy; skip # Pyroma tests sometimes hang on PyPy; skip
- if [ $TRAVIS_PYTHON_VERSION != "pypy" ]; then travis_retry pip install pyroma; fi - if [ $TRAVIS_PYTHON_VERSION != "pypy" ]; then travis_retry pip install pyroma; fi
@ -43,12 +44,10 @@ install:
# libimagequant # libimagequant
- pushd depends && ./install_imagequant.sh && popd - pushd depends && ./install_imagequant.sh && popd
# extra test images
- pushd depends && ./install_extra_test_images.sh && popd
- travis_retry pip install -e . # extra test images
- pushd depends && ./install_extra_test_images.sh && popd
before_script: before_script:
# Qt needs a display for some of the tests, and it's only run on the system site packages install # Qt needs a display for some of the tests, and it's only run on the system site packages install