aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Ivanov <ivanov-jr@mail.ru>2017-02-24 15:31:32 -0800
committerRoman Ivanov <ivanov-jr@mail.ru>2017-02-24 15:31:32 -0800
commit25ae64596996bdf4a8eaf175c12a1bd348570cfd (patch)
tree61bad6030f0739f3c571088c91bd049bcebe7fed
parent8be5cdcf45c829c8f0bf7c68e325852e6ecdfc86 (diff)
downloadcheckstyle-25ae64596996bdf4a8eaf175c12a1bd348570cfd.tar.gz
Issue #3858: set 'set -e' for all scripts commands
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index d092e9d3d..4ab188bab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -170,7 +170,8 @@ script:
fi
after_success:
- - >-
+ - |
+ set -e
if [[ -n $CMD_AFTER_SUCCESS
&& $SKIP_CI == 'false'
]];
@@ -178,7 +179,8 @@ after_success:
eval $CMD_AFTER_SUCCESS;
echo "CMD_AFTER_SUCCESS is finished";
fi
- - >-
+ - |
+ set -e
if [[ $TRAVIS_REPO_SLUG == 'checkstyle/checkstyle'
&& $TRAVIS_BRANCH == 'master'
&& $TRAVIS_PULL_REQUEST == 'false'