harfbuzz/.travis.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

language: cpp
compiler:
2014-10-01 21:44:30 +00:00
- clang
- gcc
2014-10-01 21:20:31 +00:00
env:
global:
- FEATURES="--with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2"
- CPPFLAGS="-Werror -fprofile-arcs -ftest-coverage" LDFLAGS="-lgcov"
2014-10-01 20:09:08 +00:00
before_install:
- sudo apt-get install pkg-config ragel gtk-doc-tools # for autogen.sh
- sudo apt-get install libfreetype6-dev # for font functions
- sudo apt-get install libglib2.0-dev # for font functions / tests / utils
- sudo apt-get install libcairo2-dev # for utils
- sudo apt-get install libicu-dev # for extra unicode functions
2013-08-26 21:34:18 +00:00
- sudo apt-get install libgraphite2-dev # for extra shapers
- sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
2014-10-01 20:09:08 +00:00
install:
- true
before_script:
- true
script:
- NOCONFIGURE=1 ./autogen.sh
2014-10-01 21:20:31 +00:00
- ./configure $FEATURES CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
2014-10-01 20:49:22 +00:00
- make
- make check
2014-10-01 20:09:08 +00:00
after_success:
2014-10-01 21:05:58 +00:00
- rm -f src/.libs/NONE.gcov # coveralls chokes on this
2014-10-01 21:20:31 +00:00
- touch src/NONE # see if this makes coveralls happy
- coveralls
2014-10-01 20:09:08 +00:00
after_failure:
- true
after_script:
- true
notifications:
irc: "irc.freenode.org#harfbuzz"
email: harfbuzz@lists.freedesktop.org