dunst/.travis.yml
Nikos Tsipinakis 8714a66a5b Exclude test directory from code coverage
Tests always run almost 100%, and there is no need to test our test
suite.
2018-03-09 19:54:46 +02:00

38 lines
784 B
YAML

addons:
apt:
packages:
- doxygen
- graphviz
- 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
- valgrind
dist: trusty
sudo: false
language: c
before_install:
- pip install --user cpp-coveralls
script:
- CFLAGS="-Werror" make all dunstify test-valgrind doc-doxygen
- make clean
- CFLAGS="-Werror -fprofile-arcs -ftest-coverage -O0" make test
matrix:
include:
- compiler: gcc
after_success:
- coveralls --exclude 'test'
- compiler: clang
after_success:
- coveralls --exclude 'test' --gcov llvm-cov --gcov-options gcov