Add coveralls

Send test coverage statistics to coveralls to provide a visual way to
monitor the progress of our testing suite.
This commit is contained in:
Nikos Tsipinakis 2017-12-18 20:03:11 +02:00
parent 35dbd00611
commit 74c3330669
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,11 @@ addons:
dist: trusty
sudo: false
language: c
script: CFLAGS=-Werror make all dunstify test
before_install:
- pip install --user cpp-coveralls
script:
- CFLAGS="-fprofile-arcs -ftest-coverage -Werror" make all dunstify test
- coveralls
compiler:
- gcc
- clang

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/dunst-project/dunst.svg?branch=master)](https://travis-ci.org/dunst-project/dunst)
[![Build Status](https://travis-ci.org/dunst-project/dunst.svg?branch=master)](https://travis-ci.org/dunst-project/dunst) [![Coverage Status](https://coveralls.io/repos/github/dunst-project/dunst/badge.svg?branch=coveralls)](https://coveralls.io/github/dunst-project/dunst?branch=master)
## Dunst