Make travis compile and test using all multimon extensions

Even without tests covering the x11 part of dunst, compiling with
different multi-monitor libraries should catch some of the most common
mistakes.
This commit is contained in:
Nikos Tsipinakis 2017-04-02 18:52:33 +03:00
parent c445d1477c
commit 06c4cf6d4d

View File

@ -1,14 +1,17 @@
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libdbus-1-dev libx11-dev libxinerama-dev libxss-dev libxdg-basedir-dev libglib2.0-dev libpango1.0-dev libcairo2-dev libnotify-dev libgtk2.0-dev
- sudo apt-get install -y libdbus-1-dev libx11-dev libxrandr-dev libxinerama-dev libxss-dev libxdg-basedir-dev libglib2.0-dev libpango1.0-dev libcairo2-dev libnotify-dev libgtk2.0-dev
dist: trusty
sudo: required
language: c
script: make && make test
compiler:
- clang
- gcc
- clang
env:
- MULTIMON=xrandr
- MULTIMON=xinerama
- MULTIMON=none
notifications:
irc:
channels: