This is the better option, as it won't break the CI script if travis
ends up removing the preinstalled libtool bundle for whatever reason.
before_install:
- (sudo apt-get update || brew update)
- - (sudo apt-get install -y fontconfig libfribidi-dev yasm || (brew uninstall libtool && brew install fontconfig freetype fribidi libtool yasm)) && ./autogen.sh && ./configure
+ - (sudo apt-get install -y fontconfig libfribidi-dev yasm || (brew uninstall libtool; brew install fontconfig freetype fribidi libtool yasm)) && ./autogen.sh && ./configure
script:
- make -j4