Skip to content

Commit

Permalink
added guard to exit out of CI if build of binary does not succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
countdigi committed Feb 2, 2016
1 parent 39c7c51 commit 4067b08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/lib/test.sh
Expand Up @@ -115,7 +115,8 @@ INPUT_DIR=$MYBASE/ci/testdata
MADELINE=$MYBASE/src/madeline2

if [[ ! -x $MADELINE ]]; then
cmake . && make
cmake . || exit 1
make || exit 1
fi

[[ -d $OUTPUT_DIR ]] || mkdir -p $OUTPUT_DIR
Expand Down

0 comments on commit 4067b08

Please sign in to comment.