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