diff --git a/.travis.yml b/.travis.yml index ba198d0..9f77bdc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 808cb76..b955018 100644 --- a/README.md +++ b/README.md @@ -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