The functionality was silently lost due to TravisCI issue #3533
#
- maint/getstatus maint/travis-ci_scripts/40_script.bash
+###
+### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
+###
+ - set -e
+
after_success:
# Check if we can assemble a dist properly if not in CLEANTEST
#
if [[ "$DEVREL_DEPS" == "true" ]] ; then
# --dev is already part of CPANM_OPT
LASTCMD="$TIMEOUT_CMD cpanm $@"
- $LASTCMD 2>&1
+ $LASTCMD 2>&1 || return 1
else
LASTCMD="$TIMEOUT_CMD cpan $@"
- $LASTCMD 2>&1
+ $LASTCMD 2>&1 || return 1
# older perls do not have a CPAN which can exit with error on failed install
for m in "$@"; do