]> granicus.if.org Git - libass/commitdiff
Travis CI: remove HarfBuzz and re-remove Fontconfig from OS X builds
authorOleg Oshmyan <chortos@inbox.lv>
Tue, 7 Feb 2017 12:14:07 +0000 (14:14 +0200)
committerOleg Oshmyan <chortos@inbox.lv>
Tue, 7 Feb 2017 12:14:07 +0000 (14:14 +0200)
Installing HarfBuzz through Homebrew seems to be consistently slow
whether we use the bottles and disable the Fontconfig cache or build
it from source and drop Fontconfig and other dependencies entirely.

To speed up OS X builds, disable both HarfBuzz and Fontconfig.
We build with HarfBuzz and Fontconfig on Linux, and we should
not have any platform-dependent code that depends on them,
so this should not reduce our code coverage.

.travis.yml

index 88ef75793a554be486316ea52fdabc5569e39d7e..45ca1011bfc17e225b92445fafae8f339b35b57a 100644 (file)
@@ -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 || (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
+  - (sudo apt-get install -y libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev yasm || brew install freetype fribidi yasm) && ./autogen.sh && ./configure
 script:
   - make -j4