2015-03-20 08:25:17 +01:00
|
|
|
sudo: false
|
|
|
|
|
2015-03-19 06:53:32 +01:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
2015-03-20 08:25:17 +01:00
|
|
|
addons:
|
|
|
|
apt_packages:
|
|
|
|
- ccache
|
|
|
|
- libboost-all-dev
|
|
|
|
- flex
|
|
|
|
- bison
|
|
|
|
- libssl-dev
|
|
|
|
- libpq-dev
|
|
|
|
- libmysqlclient-dev
|
|
|
|
- libedit-dev
|
|
|
|
- libyajl-dev
|
2015-03-19 06:53:32 +01:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2015-03-20 08:25:17 +01:00
|
|
|
- export PATH="/usr/lib/ccache:$PATH"
|
|
|
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2
|
2015-03-19 06:53:32 +01:00
|
|
|
|
|
|
|
script:
|
2015-03-20 08:25:17 +01:00
|
|
|
- make && make test && make install && /tmp/icinga2/sbin/icinga2 --version
|