2017-01-19 18:54:54 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
sudo apt-get update
|
2016-01-13 09:31:49 +03:00
|
|
|
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
|
2016-01-13 09:31:49 +03:00
|
|
|
|
2017-01-19 18:54:54 +03:00
|
|
|
pip install cffi
|
|
|
|
pip install nose
|
|
|
|
pip install check-manifest
|
|
|
|
pip install olefile
|
2017-06-09 00:00:34 +03:00
|
|
|
pip install pyroma
|
2017-01-19 18:54:54 +03:00
|
|
|
pip install coverage
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# clean checkout for manifest
|
|
|
|
mkdir /tmp/check-manifest && cp -a . /tmp/check-manifest
|
|
|
|
|
|
|
|
# webp
|
|
|
|
pushd depends && ./install_webp.sh && popd
|
|
|
|
|
|
|
|
# openjpeg
|
|
|
|
pushd depends && ./install_openjpeg.sh && popd
|
|
|
|
|
|
|
|
# libimagequant
|
|
|
|
pushd depends && ./install_imagequant.sh && popd
|
|
|
|
|
|
|
|
# extra test images
|
|
|
|
pushd depends && ./install_extra_test_images.sh && popd
|
|
|
|
|