aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f0c0cb7..1fb28c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,4 +11,7 @@ before_install:
install:
- sudo apt-get install -yq libpcre3-dev
- pushd /tmp/make-${MAKE_VER} && ./configure && make -j2 && sudo make install ; popd
-script: /usr/local/bin/make check
+ - sudo pip install cpp-coveralls
+script: /usr/local/bin/make check $([ "$CC" = gcc ] && echo "CFLAGS='-Wall -g -fprofile-arcs -ftest-coverage'")
+after_success:
+ - [ "$CC" = gcc ] && coveralls