Pillow/.travis/install.sh

36 lines
835 B
Bash
Raw Normal View History

2017-01-19 18:54:54 +03:00
#!/bin/bash
set -e
sudo apt-get update
sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-tk\
python-qt4 ghostscript libffi-dev libjpeg-turbo-progs cmake imagemagick\
2017-06-22 18:00:09 +03:00
libharfbuzz-dev libfribidi-dev
PYTHONOPTIMIZE=0 pip install cffi
2017-10-26 16:55:13 +03:00
pip install coverage
pip install olefile
pip install -U pytest
pip install -U pytest-cov
2017-06-09 00:00:34 +03:00
pip install pyroma
2017-11-17 22:47:05 +03:00
pip install test-image-results
2018-04-15 01:23:45 +03:00
pip install numpy
2017-01-19 18:54:54 +03:00
2017-06-09 00:00:34 +03:00
# docs only on Python 2.7
2017-01-19 18:54:54 +03:00
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install -r requirements.txt ; fi
# webp
pushd depends && ./install_webp.sh && popd
# openjpeg
pushd depends && ./install_openjpeg.sh && popd
# libimagequant
pushd depends && ./install_imagequant.sh && popd
2019-07-03 16:03:09 +03:00
# raqm
pushd depends && ./install_raqm.sh && popd
2017-01-19 18:54:54 +03:00
# extra test images
pushd depends && ./install_extra_test_images.sh && popd