2013-03-05 07:37:44 +01:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
2014-10-01 23:44:30 +02:00
|
|
|
- clang
|
2013-03-05 07:37:44 +01:00
|
|
|
- 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:
|
2013-02-24 19:00:33 +01:00
|
|
|
- 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
|
2014-10-01 22:38:47 +02:00
|
|
|
- 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:
|
2014-10-01 22:38:47 +02:00
|
|
|
- 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
|
2014-10-01 22:38:47 +02:00
|
|
|
- coveralls
|
2014-10-01 22:09:08 +02:00
|
|
|
after_failure:
|
|
|
|
- true
|
|
|
|
after_script:
|
|
|
|
- true
|
2013-03-05 07:37:44 +01:00
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#harfbuzz"
|
|
|
|
email: harfbuzz@lists.freedesktop.org
|