Skip to content

Commit

Permalink
checking return statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jul 25, 2017
1 parent 218e801 commit e4e794a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,29 @@ jobs:
set +e
pip2 install -e .
RESULT=$?
if [ $RESULT -ne 0 ]; then
exit $RESULT
fi
karr-lab-build-utils-2 run-tests tests --with-xunit --with-coverage
RESULT2=$?
pip3 install -e .
RESULT=$?
if [ $RESULT -ne 0 ]; then
exit $RESULT
fi
karr-lab-build-utils-3 run-tests tests --with-xunit --with-coverage
RESULT3=$?
karr-lab-build-utils make-and-archive-reports
if [[ $RESULT2 -eq 0 && $RESULT3 -eq 0 ]]; then
exit 0
else
exit 1
fi
- store_test_results:
path: /root/project/tests/reports
- store_artifacts:
Expand Down

0 comments on commit e4e794a

Please sign in to comment.