Fix travis build

This commit is contained in:
Bastian Kleineidam 2014-03-04 20:24:51 +01:00
parent 18972d3830
commit cca71837b4

View file

@ -9,11 +9,12 @@ branches:
# install libjpeg-dev for PIL to handle JPEGs # install libjpeg-dev for PIL to handle JPEGs
before_install: before_install:
- sudo apt-get update -q -y - sudo apt-get update -q -y
- sudo apt-get upgrade -q -y
- sudo apt-get install -q -y libjpeg-dev - 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/libjpeg.so /usr/lib
- sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib - sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
- sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib - sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
# disabled upgrade: it gives build errors
# - sudo apt-get upgrade -q -y
# command to install dependencies # command to install dependencies
install: install:
- pip install -r requirements.txt --use-mirrors - pip install -r requirements.txt --use-mirrors