diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-10-01 18:07:27 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-10-01 18:07:27 -0400 |
commit | ef40ca8e5e830231539dc61088b58e907a840629 (patch) | |
tree | ccac7f575090e74c5593fe7f5ad2f097cbd9c9db /.travis.yml | |
parent | 52784da17b7278f2587168234878bb15d918c9fe (diff) |
[travis] Try to make coverage work with clang
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 25c028db..be4522ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,10 @@ compiler: - gcc env: global: - - FEATURES="--with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2" - - CPPFLAGS="-Werror -fprofile-arcs -ftest-coverage" LDFLAGS="-lgcov" + - CPPFLAGS="" + - CFLAGS="-Werror --coverage" + - CXXFLAGS="-Werror --coverage" + - LDFLAGS="--coverage" before_install: - sudo apt-get install pkg-config ragel gtk-doc-tools # for autogen.sh - sudo apt-get install libfreetype6-dev # for font functions @@ -20,9 +22,8 @@ before_script: - true script: - NOCONFIGURE=1 ./autogen.sh - - ./configure $FEATURES CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" - - make - - make check + - ./configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 + - make && make check after_success: - rm -f src/.libs/NONE.gcov # coveralls chokes on this - touch src/NONE # see if this makes coveralls happy |