harfbuzz/.travis.yml
2014-10-01 17:44:30 -04:00

37 lines
1.1 KiB
YAML

language: cpp
compiler:
- clang
- gcc
env:
global:
- FEATURES="--with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2"
- CPPFLAGS="-Werror -fprofile-arcs -ftest-coverage" LDFLAGS="-lgcov"
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
- sudo apt-get install libgraphite2-dev # for extra shapers
- sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
install:
- true
before_script:
- true
script:
- NOCONFIGURE=1 ./autogen.sh
- ./configure $FEATURES CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
- make
- make check
after_success:
- rm -f src/.libs/NONE.gcov # coveralls chokes on this
- touch src/NONE # see if this makes coveralls happy
- coveralls
after_failure:
- true
after_script:
- true
notifications:
irc: "irc.freenode.org#harfbuzz"
email: harfbuzz@lists.freedesktop.org