dunst/.travis.yml
Benedikt Heine eba6913faa Test version number in unittests
Enforces a version number as intended in the Makefile. This check is
necessary, as there is no ability to check via Macros for an empty
string.
2018-11-12 15:32:58 +01:00

40 lines
778 B
YAML

addons:
apt:
packages:
- doxygen
- graphviz
- libdbus-1-dev
- libx11-dev
- libxrandr-dev
- libxinerama-dev
- libxss-dev
- libglib2.0-dev
- libpango1.0-dev
- libcairo2-dev
- libnotify-dev
- libgtk-3-dev
- valgrind
dist: trusty
sudo: false
language: c
git:
depth: false
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