diff --git a/.travis.yml b/.travis.yml index ba198d0..5c6aa5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,27 +1,31 @@ addons: apt: packages: - - libdbus-1-dev - - libx11-dev - - libxrandr-dev - - libxinerama-dev - - libxss-dev - - libxdg-basedir-dev - - libglib2.0-dev - - libpango1.0-dev - - libcairo2-dev - - libnotify-dev - - libgtk-3-dev + - libdbus-1-dev + - libx11-dev + - libxrandr-dev + - libxinerama-dev + - libxss-dev + - libxdg-basedir-dev + - libglib2.0-dev + - libpango1.0-dev + - libcairo2-dev + - libnotify-dev + - libgtk-3-dev 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 + - gcc + - clang notifications: - irc: - channels: - - "chat.freenode.net#dunst" - on_success: change - on_failure: always + irc: + channels: + - "chat.freenode.net#dunst" + on_success: change + on_failure: always 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