[travis] More coveralls
diff --git a/.travis.yml b/.travis.yml
index 8d20278..0574924 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,10 @@
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
@@ -16,11 +20,12 @@
- true
script:
- NOCONFIGURE=1 ./autogen.sh
- - ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 CPPFLAGS="-Werror -fprofile-arcs -ftest-coverage" LDFLAGS=-lgcov
+ - ./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