Fix installation of meson and pillow (pip3) in travis.

I don't know why, but the travis build doesn't work since few days.
It seems that pip3 cannot install in `/usr/local` anymore.
Probably related to last travis change* as a lot of people seems to have
problem with this update and python (even if this is not the same problems)

Anyway, we should not install a dependencies in global environment without
a sudo. Let's install the pip3 dependencies for the user only.

[*] https://docs.travis-ci.com/user/build-environment-updates/2017-09-06/
This commit is contained in:
Matthieu Gautier 2017-09-11 11:13:45 +02:00
parent f3a3fa754a
commit e43e502cb7
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ orig_dir=$(pwd)
sudo apt-get update -qq
sudo apt-get install -qq python3-pip zlib1g-dev libjpeg-dev
pip3 install meson
pip3 install pillow
pip3 install --user meson
pip3 install --user pillow
# ninja
git clone git://github.com/ninja-build/ninja.git