From: Sebastian Harl Date: Sat, 21 Dec 2013 19:22:12 +0000 (+0100) Subject: .travis.yml: Collect and upload coverage information to coveralls.io. X-Git-Tag: sysdb-0.1.0~295 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=994a9c17d585c1869c0697c86a70ce3b4a8ed068 .travis.yml: Collect and upload coverage information to coveralls.io. --- diff --git a/.travis.yml b/.travis.yml index b227ad6..6aa1200 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,12 @@ before_install: install: - sudo apt-get install -qq check flex bison libtool - sudo apt-get install -qq libdbi-dev libedit-dev libltdl-dev + - sudo pip install cpp-coveralls --use-mirrors before_script: - ./autogen.sh -script: ./configure CFLAGS="-Wno-sign-conversion" && make && make test +script: ./configure CFLAGS="-O0 --coverage --no-inline -Wno-sign-conversion" && make && make test +after_success: + - coveralls --exclude t branches: only: - master