]> granicus.if.org Git - icinga2/commitdiff
Travis: Run config validation at the end 5248/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Thu, 11 May 2017 14:18:16 +0000 (16:18 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 11 May 2017 14:34:25 +0000 (16:34 +0200)
This will help detect faulty contributed CheckCommand definitions (enabled by default since 2.5).

.travis.yml

index 7f3aa88c302b7cbc6301c1e131000f6aa3ae1ea2..7bb95512c481fd01f343c776ef9cae5c00cacc53 100644 (file)
@@ -26,4 +26,4 @@ before_script:
   - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2
 
 script:
-  - make && make test && make install && /tmp/icinga2/sbin/icinga2 --version
+  - make && make test && make install && /tmp/icinga2/sbin/icinga2 --version && /tmp/icinga2/sbin/icinga2 daemon -C -DRunAsUser=$(id -u -n) -DRunAsGroup=$(id -g -n)