travis: Update to trusty as CI environment

fixes #5251
This commit is contained in:
Markus Frosch 2017-05-12 15:52:40 +02:00
parent 4ad1d1cd43
commit f51b04f01b
1 changed files with 6 additions and 4 deletions

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)