2015-11-24 09:46:35 +01:00
|
|
|
# Build Configuration for Travis
|
2016-01-01 21:36:19 +01:00
|
|
|
dist: trusty
|
2017-12-06 20:08:20 +01:00
|
|
|
|
2013-03-05 07:37:44 +01:00
|
|
|
language: cpp
|
2017-12-06 20:08:20 +01:00
|
|
|
|
2014-10-01 23:20:31 +02:00
|
|
|
env:
|
|
|
|
global:
|
2014-10-02 00:07:27 +02:00
|
|
|
- CPPFLAGS=""
|
|
|
|
- CFLAGS="-Werror --coverage"
|
2016-01-01 21:36:19 +01:00
|
|
|
- CXXFLAGS="-Werror -Wno-deprecated-register --coverage" # glib uses register and clang raises a warning
|
2014-10-02 00:07:27 +02:00
|
|
|
- LDFLAGS="--coverage"
|
2017-12-06 20:08:20 +01:00
|
|
|
- CONFIGURE_OPTS="--with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2"
|
|
|
|
- NOCONFIGURE=1
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure $CONFIGURE_OPTS --enable-gtk-doc
|
|
|
|
- make
|
|
|
|
- make check || (cat */test-suite.log test/*/test-suite.log && false)
|
|
|
|
after_success:
|
|
|
|
- bash .ci/run-coveralls.sh # for coveralls.io code coverage tracking
|
|
|
|
- bash .ci/deploy-docs.sh
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure $CONFIGURE_OPTS
|
|
|
|
- make
|
|
|
|
- make check || (cat */test-suite.log test/*/test-suite.log && false)
|
|
|
|
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
|
|
|
install:
|
|
|
|
# https://github.com/harfbuzz/harfbuzz/issues/345
|
|
|
|
- export CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations"
|
|
|
|
- brew update;
|
|
|
|
# Workaround Travis/brew bug
|
|
|
|
- brew uninstall libtool && brew install libtool
|
|
|
|
- brew install ragel freetype glib gobject-introspection cairo icu4c graphite2
|
|
|
|
- brew link --force icu4c # icu4c is keg-only
|
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure $CONFIGURE_OPTS --with-coretext
|
|
|
|
- make
|
|
|
|
- make check || (cat */test-suite.log test/*/test-suite.log && false)
|
|
|
|
|
2013-03-05 07:37:44 +01:00
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#harfbuzz"
|
|
|
|
email: harfbuzz@lists.freedesktop.org
|
2015-06-13 02:37:41 +02:00
|
|
|
|
|
|
|
addons:
|
2015-10-19 20:11:01 +02:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- pkg-config # for autogen.sh
|
|
|
|
- ragel
|
|
|
|
- gtk-doc-tools
|
|
|
|
- libfreetype6-dev # for font function
|
|
|
|
- libglib2.0-dev # for font functions / tests / utils
|
|
|
|
- libcairo2-dev # for utils
|
|
|
|
- libicu-dev # for extra unicode functions
|
|
|
|
- libgraphite2-dev # for extra shapers
|
|
|
|
- # libgirepository1.0-dev # for gobject-introspection
|