2013-03-05 06:37:44 +00:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
2014-10-01 21:44:30 +00:00
|
|
|
- clang
|
2013-03-05 06:37:44 +00:00
|
|
|
- gcc
|
2014-10-01 21:20:31 +00:00
|
|
|
env:
|
|
|
|
global:
|
2014-10-01 22:07:27 +00:00
|
|
|
- CPPFLAGS=""
|
|
|
|
- CFLAGS="-Werror --coverage"
|
|
|
|
- CXXFLAGS="-Werror --coverage"
|
|
|
|
- LDFLAGS="--coverage"
|
2015-06-13 00:37:41 +00:00
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
|
|
- secure: "RoR4NtzEDTR8QKmLVuy2wN+YGXuq8VcgVvDuFJDdOdIbtX+kQStesJXDcf1y0G1T8Ripjn9JGXBd9eoUwNc8sJpxNwKZBkIPi42FuK6e/cZZRYlgUyi5df0fQJ8VSCDU7OoZJq3pAtTe8mQPeeuk5G7cKRSsJVt8e03K7PQcU6Y="
|
2014-10-01 22:54:55 +00:00
|
|
|
install:
|
2013-02-24 18:00:33 +00: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 21:34:18 +00:00
|
|
|
- sudo apt-get install libgraphite2-dev # for extra shapers
|
2015-05-07 13:09:32 +00:00
|
|
|
- #sudo apt-get install libgirepository1.0-dev # for gobject-introspection
|
2014-10-01 20:38:47 +00:00
|
|
|
- sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
|
2014-10-01 20:09:08 +00:00
|
|
|
script:
|
2014-10-01 20:38:47 +00:00
|
|
|
- NOCONFIGURE=1 ./autogen.sh
|
2015-05-05 06:09:51 +00:00
|
|
|
- ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
|
2014-10-01 22:58:43 +00:00
|
|
|
- make && make check && { rm -f src/.libs/NONE.gcov; touch src/NONE; test $CC != gcc || coveralls; }
|
2013-03-05 06:37:44 +00:00
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#harfbuzz"
|
|
|
|
email: harfbuzz@lists.freedesktop.org
|
2015-06-13 00:37:41 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "behdad/harfbuzz"
|
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: coverity@behdad.org
|
|
|
|
build_command_prepend: "./configure; make clean"
|
|
|
|
build_command: "make -j 4"
|
|
|
|
branch_pattern: master
|