Skip to content

Commit

Permalink
set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed Apr 24, 2015
1 parent 6717227 commit 09edea3
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .travis-install.sh
Original file line number Diff line number Diff line change
@@ -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`
Expand All @@ -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

0 comments on commit 09edea3

Please sign in to comment.