From c7108a93429f82a2bdaa20f088ffffd6a4eecc03 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 10 Feb 2014 22:27:01 +0100 Subject: [PATCH] Fix pil install --- .travis.yml | 1 + scripts/install_pil.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d94215ddc..812e3356e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ branches: # install libjpeg-dev for PIL to handle JPEGs before_install: - sudo apt-get update -q -y + - sudo apt-get upgrade -q -y - sudo apt-get install -q -y libjpeg-dev - sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib - sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib diff --git a/scripts/install_pil.sh b/scripts/install_pil.sh index b3701549b..31e62ab16 100755 --- a/scripts/install_pil.sh +++ b/scripts/install_pil.sh @@ -4,5 +4,5 @@ set -e set -u if python -c 'import sys; sys.exit(0 if sys.hexversion<0x03000000 else 1)'; then - pip install PIL + pip --allow-all-external install PIL fi