From 09edea328a09e1d6e7131620437f18787d65a16a Mon Sep 17 00:00:00 2001 From: Matthew Gidden Date: Thu, 23 Apr 2015 15:38:05 -0500 Subject: [PATCH] set -e --- .travis-install.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.travis-install.sh b/.travis-install.sh index c6a2e10c90..f4cf6adae1 100755 --- a/.travis-install.sh +++ b/.travis-install.sh @@ -1,6 +1,7 @@ #!/bin/bash -set -x +set -x # print cmds +set -e # exit as soon as an error occurs # log msg=`git log --pretty=oneline -1` @@ -13,16 +14,6 @@ sed -i "s/- cyclus/- cyclus 0.0/g" conda-recipe/meta.yaml # build conda build --no-test conda-recipe -status=$? -echo "status: $status" -if [[ $status != 0 ]]; then - exit $status -fi # install conda install --use-local cycamore=0.0 -status=$? -echo "status: $status" -if [[ $status != 0 ]]; then - exit $status -fi