]> granicus.if.org Git - icinga2/commitdiff
travis: Stop when one of the commands fail
authorMarkus Frosch <markus.frosch@icinga.com>
Wed, 1 Aug 2018 07:40:48 +0000 (09:40 +0200)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 7 Aug 2018 12:09:49 +0000 (14:09 +0200)
.travis.yml

index 89b52bdd82ed50316246dcdc7cc0650d1b2a6e46..6963d0514864519f6a34fb076eda65b9d32193c8 100644 (file)
@@ -36,16 +36,16 @@ addons:
 
 before_script:
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then
-      mkdir build;
-      cd build;
+      mkdir build &&
+      cd build &&
       cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin;
     fi
 
 script:
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then
-      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);
     fi