From 728c82d029fc477ff3cb2681730ed57809cdc981 Mon Sep 17 00:00:00 2001 From: Julian Fleischer Date: Fri, 3 Aug 2018 18:05:22 +0200 Subject: [PATCH] make script exit if a command fails --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8de437f6f..102fa9202 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,13 +29,13 @@ env: - WINEDEBUG=fixme-all - DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache" before_install: - - source .travis/test_03_before_install.sh + - set -o errexit; source .travis/test_03_before_install.sh install: - - source .travis/test_04_install.sh + - set -o errexit; source .travis/test_04_install.sh before_script: - - source .travis/test_05_before_script.sh + - set -o errexit; source .travis/test_05_before_script.sh script: - - source .travis/test_06_script.sh + - set -o errexit; source .travis/test_06_script.sh after_script: - echo $TRAVIS_COMMIT_RANGE - echo $TRAVIS_COMMIT_LOG @@ -49,11 +49,11 @@ jobs: language: python python: '3.6' install: - - source .travis/lint_04_install.sh + - set -o errexit; source .travis/lint_04_install.sh before_script: - - source .travis/lint_05_before_script.sh + - set -o errexit; source .travis/lint_05_before_script.sh script: - - source .travis/lint_06_script.sh + - set -o errexit; source .travis/lint_06_script.sh # ARM - stage: test env: >-