dunst/.travis.yml
Nikos Tsipinakis 1831e9d015 Run code coverage tests without optimizations
This way the code coverage results also include code paths that are
optimized out by the compiler at higher optimization levels.
2018-03-09 18:18:05 +02:00

45 lines
867 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
- compiler: clang
after_success:
- coveralls --gcov llvm-cov --gcov-options gcov
notifications:
irc:
channels:
- "chat.freenode.net#dunst"
on_success: change
on_failure: always