travis: make CI install script bail out on first error
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 05:51:16 +0000 (06:51 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 10:55:10 +0000 (11:55 +0100)
This avoids the issue where we carry on when we can't find a requested
package to install.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
ci/travis-install.sh

index 36661ddde1e2a1839d322857da4469162a832688..f76d5d4015619a55689e9c9c4c378559dc247fd4 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+set -e
 
 CI_TARGET_ARCH="${BUILD_ARCH:-$TRAVIS_CPU_ARCH}"
 case "$TRAVIS_OS_NAME" in
 
 CI_TARGET_ARCH="${BUILD_ARCH:-$TRAVIS_CPU_ARCH}"
 case "$TRAVIS_OS_NAME" in