mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-13 09:42:20 +03:00
Don't cover PyPy: it fails intermittently and is x5.8 slower (#640)
This commit is contained in:
parent
958397ae02
commit
41d3c386a9
16
.travis.yml
16
.travis.yml
|
@ -4,12 +4,12 @@ notifications:
|
||||||
irc: "chat.freenode.net#pil"
|
irc: "chat.freenode.net#pil"
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "pypy"
|
|
||||||
- 2.6
|
- 2.6
|
||||||
- 2.7
|
- 2.7
|
||||||
- 3.2
|
- 3.2
|
||||||
- 3.3
|
- 3.3
|
||||||
- 3.4
|
- 3.4
|
||||||
|
- "pypy"
|
||||||
|
|
||||||
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"
|
||||||
|
@ -26,8 +26,14 @@ script:
|
||||||
- coverage erase
|
- coverage erase
|
||||||
- python setup.py clean
|
- python setup.py clean
|
||||||
- python setup.py build_ext --inplace
|
- python setup.py build_ext --inplace
|
||||||
- coverage run --append --include=PIL/* selftest.py
|
|
||||||
- python Tests/run.py --coverage
|
# Don't cover PyPy: it fails intermittently and is x5.8 slower (#640)
|
||||||
|
- if [ "$TRAVIS_PYTHON_VERSION" == "pypy" ]; then python selftest.py; fi
|
||||||
|
- if [ "$TRAVIS_PYTHON_VERSION" == "pypy" ]; then python Tests/run.py; fi
|
||||||
|
|
||||||
|
# Cover the others
|
||||||
|
- if [ "$TRAVIS_PYTHON_VERSION" != "pypy" ]; then coverage run --append --include=PIL/* selftest.py; fi
|
||||||
|
- if [ "$TRAVIS_PYTHON_VERSION" != "pypy" ]; then python Tests/run.py --coverage; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- coverage report
|
- coverage report
|
||||||
|
@ -37,7 +43,3 @@ after_success:
|
||||||
- pyflakes PIL/*.py
|
- pyflakes PIL/*.py
|
||||||
- pep8 Tests/*.py
|
- pep8 Tests/*.py
|
||||||
- pyflakes Tests/*.py
|
- pyflakes Tests/*.py
|
||||||
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- python: "pypy"
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user