2015-11-24 08:46:35 +00:00
|
|
|
# Build Configuration for Travis
|
2019-06-07 20:10:18 +00:00
|
|
|
dist: trusty
|
2017-12-06 19:08:20 +00:00
|
|
|
|
2013-03-05 06:37:44 +00:00
|
|
|
language: cpp
|
2017-12-06 19:08:20 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
script:
|
2019-03-14 19:41:25 +00:00
|
|
|
# Remove the following three lines when Travis updates its distro
|
|
|
|
- export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig"
|
|
|
|
- export LD_LIBRARY_PATH="$HOME/.local/lib"
|
|
|
|
- bash .ci/build-freetype.sh
|
2018-01-22 09:38:35 +00:00
|
|
|
|
2020-04-28 11:20:03 +00:00
|
|
|
- ./autogen.sh NOCONFIGURE=1
|
|
|
|
- ./configure $CONFIGURE_OPTS --enable-gtk-doc --enable-code-coverage --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
|
2017-12-06 19:08:20 +00:00
|
|
|
- make
|
2018-02-15 09:25:24 +00:00
|
|
|
- make check || .ci/fail.sh
|
2018-03-03 19:56:11 +00:00
|
|
|
- rm -rf freetype-2.9
|
2017-12-06 19:08:20 +00:00
|
|
|
after_success:
|
2018-11-20 06:06:50 +00:00
|
|
|
- bash .ci/run-coveralls.sh # coveralls.io code coverage
|
2017-12-06 19:08:20 +00:00
|
|
|
|
2013-03-05 06:37:44 +00:00
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#harfbuzz"
|
2018-02-14 21:45:39 +00:00
|
|
|
email: harfbuzz-bots-chatter@googlegroups.com
|
2015-06-13 00:37:41 +00:00
|
|
|
|
2019-03-14 19:41:25 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- /home/travis/.local
|
|
|
|
|
2015-06-13 00:37:41 +00:00
|
|
|
addons:
|
2015-10-19 18:11:01 +00:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- pkg-config # for autogen.sh
|
|
|
|
- ragel
|
2018-03-03 19:39:25 +00:00
|
|
|
- lcov
|
2015-10-19 18:11:01 +00:00
|
|
|
- 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
|
2018-01-22 09:38:35 +00:00
|
|
|
#- libgirepository1.0-dev # for gobject-introspection
|