blob: 4b3e0f8885415452e18b9577eb5d1c936c95b2a1 [file] [log] [blame]
Behdad Esfahbod5f705b42013-03-05 01:37:44 -05001language: cpp
2compiler:
Behdad Esfahbod40987e82014-10-01 17:44:30 -04003 - clang
Behdad Esfahbod5f705b42013-03-05 01:37:44 -05004 - gcc
Behdad Esfahbod9b89fc52014-10-01 17:20:31 -04005env:
6 global:
Behdad Esfahbodef40ca82014-10-01 18:07:27 -04007 - CPPFLAGS=""
8 - CFLAGS="-Werror --coverage"
9 - CXXFLAGS="-Werror --coverage"
10 - LDFLAGS="--coverage"
Behdad Esfahbod406a0202014-10-01 18:54:55 -040011install:
Anthony Carricof7c72b42013-02-24 13:00:33 -050012 - sudo apt-get install pkg-config ragel gtk-doc-tools # for autogen.sh
13 - sudo apt-get install libfreetype6-dev # for font functions
14 - sudo apt-get install libglib2.0-dev # for font functions / tests / utils
15 - sudo apt-get install libcairo2-dev # for utils
16 - sudo apt-get install libicu-dev # for extra unicode functions
Behdad Esfahbodddc456a2013-08-26 17:34:18 -040017 - sudo apt-get install libgraphite2-dev # for extra shapers
Behdad Esfahboddfe80782014-10-01 16:38:47 -040018 - sudo pip install cpp-coveralls # for coveralls.io code coverage tracking
Behdad Esfahbode281ed32014-10-01 16:09:08 -040019script:
Behdad Esfahboddfe80782014-10-01 16:38:47 -040020 - NOCONFIGURE=1 ./autogen.sh
Behdad Esfahbodef40ca82014-10-01 18:07:27 -040021 - ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
Behdad Esfahbod72280112014-10-01 18:58:43 -040022 - make && make check && { rm -f src/.libs/NONE.gcov; touch src/NONE; test $CC != gcc || coveralls; }
Behdad Esfahbod5f705b42013-03-05 01:37:44 -050023notifications:
24 irc: "irc.freenode.org#harfbuzz"
25 email: harfbuzz@lists.freedesktop.org