2015-10-19 21:41:01 +03:30
|
|
|
# Linux Build Configuration for Travis
|
|
|
|
sudo: false # Use Travis docker infrastructure
|
2013-03-05 01:37:44 -05:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
2014-10-01 17:44:30 -04:00
|
|
|
- clang
|
2013-03-05 01:37:44 -05:00
|
|
|
- gcc
|
2014-10-01 17:20:31 -04:00
|
|
|
env:
|
|
|
|
global:
|
2014-10-01 18:07:27 -04:00
|
|
|
- CPPFLAGS=""
|
|
|
|
- CFLAGS="-Werror --coverage"
|
|
|
|
- CXXFLAGS="-Werror --coverage"
|
|
|
|
- LDFLAGS="--coverage"
|
2014-10-01 18:54:55 -04:00
|
|
|
install:
|
2015-10-19 21:41:01 +03:30
|
|
|
- pip install --user nose
|
|
|
|
- pip install --user cpp-coveralls # for coveralls.io code coverage tracking
|
|
|
|
- export PATH=$HOME/.local/bin:$PATH # Make sure we can find the above Python packages
|
2014-10-01 16:09:08 -04:00
|
|
|
script:
|
2014-10-01 16:38:47 -04:00
|
|
|
- NOCONFIGURE=1 ./autogen.sh
|
2015-05-04 23:09:51 -07:00
|
|
|
- ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
|
2014-10-01 18:58:43 -04:00
|
|
|
- make && make check && { rm -f src/.libs/NONE.gcov; touch src/NONE; test $CC != gcc || coveralls; }
|
2013-03-05 01:37:44 -05:00
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#harfbuzz"
|
|
|
|
email: harfbuzz@lists.freedesktop.org
|
2015-06-12 17:37:41 -07:00
|
|
|
|
|
|
|
addons:
|
2015-10-19 21:41:01 +03:30
|
|
|
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
|