Merge pull request #5252 from Icinga/travis

travis: Update to trusty as CI environment

fixes #5251
This commit is contained in:
Michael Friedrich 2017-05-12 16:14:00 +02:00 committed by GitHub
commit d60ed9a98b

View File

@ -1,12 +1,10 @@
dist: trusty
sudo: false
language: cpp
cache: ccache
compiler:
- gcc
addons:
apt_packages:
- libboost-all-dev
@ -26,4 +24,8 @@ before_script:
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2
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)
- make
- make test
- make install
- /tmp/icinga2/sbin/icinga2 --version
- /tmp/icinga2/sbin/icinga2 daemon -C -DRunAsUser=$(id -u -n) -DRunAsGroup=$(id -g -n)