harfbuzz/.travis.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

language: cpp
compiler:
2014-10-01 23:44:30 +02:00
- clang
- gcc
2014-10-01 23:20:31 +02: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 22:09:08 +02: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 23:34:18 +02:00
- sudo apt-get install libgraphite2-dev # for extra shapers
- sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
2014-10-01 22:09:08 +02:00
install:
- true
before_script:
- true
script:
- NOCONFIGURE=1 ./autogen.sh
2014-10-01 23:20:31 +02:00
- ./configure $FEATURES CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
2014-10-01 22:49:22 +02:00
- make
- make check
2014-10-01 22:09:08 +02:00
after_success:
2014-10-01 23:05:58 +02:00
- rm -f src/.libs/NONE.gcov # coveralls chokes on this
2014-10-01 23:20:31 +02:00
- touch src/NONE # see if this makes coveralls happy
- coveralls
2014-10-01 22:09:08 +02:00
after_failure:
- true
after_script:
- true
notifications:
irc: "irc.freenode.org#harfbuzz"
email: harfbuzz@lists.freedesktop.org