From 90d7b4dad6de3bf6141e66ef58988f9dcab935c7 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Mon, 26 Feb 2018 08:41:25 +0000 Subject: [PATCH] CI: Make setup script fail on error Run the `.ci/setup.sh` script with `set -e` to ensure all failures are fatal. Fixes #65. Signed-off-by: James O. D. Hunt --- .ci/setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/setup.sh b/.ci/setup.sh index 43b8868370..1bab32bf7c 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -5,6 +5,8 @@ # SPDX-License-Identifier: Apache-2.0 # +set -e + cidir=$(dirname "$0") bash "${cidir}/static-checks.sh"