Pillow/.travis.yml

45 lines
810 B
YAML
Raw Normal View History

language: python
2013-11-21 10:44:00 +04:00
# for python-qt4
virtualenv:
system_site_packages: true
2014-04-02 14:53:34 +04:00
notifications:
irc: "chat.freenode.net#pil"
2014-03-26 23:04:54 +04:00
python:
2014-03-26 23:04:54 +04:00
- 2.6
- 2.7
2014-03-26 23:04:54 +04:00
- 3.2
- 3.3
- "pypy"
2014-04-02 12:00:43 +04:00
install:
2014-03-26 21:49:48 +04:00
- "sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev cmake"
2014-01-06 09:36:29 +04:00
- "pip install cffi"
2014-04-02 12:00:43 +04:00
- "pip install coveralls"
2013-03-19 21:18:25 +04:00
2014-04-02 12:00:43 +04:00
# webp
2014-03-27 01:11:41 +04:00
- pushd depends && ./install_webp.sh && popd
2014-03-26 20:29:47 +04:00
2014-03-26 23:04:54 +04:00
# openjpeg
2014-03-27 00:22:37 +04:00
- pushd depends && ./install_openjpeg.sh && popd
2013-03-19 21:18:25 +04:00
script:
2014-04-02 12:00:43 +04:00
- coverage erase
- python setup.py clean
- python setup.py build_ext --inplace
- coverage run --append --include=PIL/* selftest.py
- python Tests/run.py --coverage
2014-04-02 12:00:43 +04:00
after_success:
2014-04-02 12:40:40 +04:00
- coverage report
2014-04-02 12:00:43 +04:00
- coveralls
- pip install pep8 pyflakes
- pep8 PIL/*.py
- pyflakes PIL/*.py
2014-03-24 18:29:09 +04:00
2014-03-26 23:04:54 +04:00
matrix:
allow_failures:
- python: "pypy"