icinga2/.travis.yml

32 lines
600 B
YAML
Raw Normal View History

dist: trusty
sudo: false
2015-03-19 06:53:32 +01:00
language: cpp
2016-08-27 12:47:39 +02:00
cache: ccache
addons:
apt_packages:
- libboost-all-dev
- flex
- bison
- libssl-dev
- libpq-dev
- libmysqlclient-dev
- libedit-dev
- libyajl-dev
- libwxbase3.0-dev
- libwxgtk3.0-dev
2015-03-19 06:53:32 +01:00
before_script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin
2015-03-19 06:53:32 +01:00
script:
- make
- make test
- make install
- /tmp/icinga2/sbin/icinga2 --version
- /tmp/icinga2/sbin/icinga2 daemon -C -DRunAsUser=$(id -u -n) -DRunAsGroup=$(id -g -n)