From 994a9c17d585c1869c0697c86a70ce3b4a8ed068 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 21 Dec 2013 20:22:12 +0100 Subject: [PATCH] .travis.yml: Collect and upload coverage information to coveralls.io. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2