From 488b90d8904ee38c0555508bc1430a29a1663a3c Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Mon, 6 Feb 2017 18:46:22 +0200 Subject: Travis CI: re-enable Fontconfig on OS X but force no cache built Building HarfBuzz from source works to avoid Fontconfig, but it is still fairly slow. To further speed up the build, try to use only the prebuilt bottle packages (which inevitably brings in Fontconfig as a dependency) but hack the Fontconfig formula to avoid building the font cache. Adding Fontconfig is not the goal of this commit, as we already have it on Linux and our Fontconfig-related code "should" work equally well on other platforms. But since we can now afford it, explicitly ask Homebrew to install Fontconfig even if the dependency that brings it in disappears from Homebrew in the future, and enjoy the improved code coverage. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 73e952d..88ef757 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ branches: before_install: - (sudo apt-get update || brew update) - - (sudo apt-get install -y libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev yasm || brew install freetype fribidi harfbuzz yasm --without-gobject-introspection --without-icu4c) && ./autogen.sh && ./configure + - (sudo apt-get install -y libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev yasm || (sed -i '' /fc-cache/d "$(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/fontconfig.rb"; brew install fontconfig freetype fribidi harfbuzz yasm)) && ./autogen.sh && ./configure script: - make -j4 -- cgit v1.2.3