travis: fix install of packages on macOS

Some recent OSX builds failed on Travis due to a change on the macOS
image they are providing. The python package could not be installed.

==> Pouring python@2-2.7.14_3.sierra.bottle.1.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-2
Target /usr/local/bin/2to3-2
is a symlink belonging to python. You can unlink it:
  brew unlink python
This commit is contained in:
Stefan Schmidt 2018-04-18 09:24:18 +02:00
parent 2c8c7807f1
commit c79f6640bd
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh
brew update
brew unlink python
brew install gettext check bullet dbus fontconfig freetype fribidi gst-plugins-good gstreamer luajit openssl webp libsndfile glib libspectre libraw librsvg poppler lz4