[travis] More coveralls

This commit is contained in:
Behdad Esfahbod 2014-10-01 17:20:31 -04:00
parent a68f2b62c1
commit 9b89fc52f4
1 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,10 @@ language: cpp
compiler: compiler:
#- clang #- clang
- gcc - 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: before_install:
- sudo apt-get install pkg-config ragel gtk-doc-tools # for autogen.sh - 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 libfreetype6-dev # for font functions
@ -16,11 +20,12 @@ before_script:
- true - true
script: script:
- NOCONFIGURE=1 ./autogen.sh - 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
- make check - make check
after_success: after_success:
- rm -f src/.libs/NONE.gcov # coveralls chokes on this - rm -f src/.libs/NONE.gcov # coveralls chokes on this
- touch src/NONE # see if this makes coveralls happy
- coveralls - coveralls
after_failure: after_failure:
- true - true