# need to invoke the after_failure script manually
# because 'after_failure' runs only after 'script' fails
#
- - maint/getstatus maint/travis-ci_scripts/30_before_script.bash
+ - maint/getstatus /bin/bash maint/travis-ci_scripts/30_before_script.bash
script:
# Run actual tests
#
- - maint/getstatus maint/travis-ci_scripts/40_script.bash
+ - maint/getstatus /bin/bash maint/travis-ci_scripts/40_script.bash
###
### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
after_success:
# Check if we can assemble a dist properly if not in CLEANTEST
#
- - maint/getstatus maint/travis-ci_scripts/50_after_success.bash || ( maint/travis-ci_scripts/50_after_failure.bash && /bin/false )
+ - maint/getstatus /bin/bash maint/travis-ci_scripts/50_after_success.bash || ( /bin/bash maint/travis-ci_scripts/50_after_failure.bash && /bin/false )
after_failure:
# Final sysinfo printout on fail
#
- - maint/getstatus maint/travis-ci_scripts/50_after_failure.bash
+ - maint/getstatus /bin/bash maint/travis-ci_scripts/50_after_failure.bash
after_script:
# No tasks yet
#
- #- maint/getstatus maint/travis-ci_scripts/60_after_script.bash
+ #- maint/getstatus /bin/bash maint/travis-ci_scripts/60_after_script.bash
#!/bin/bash
+if [[ "${BASH_SOURCE[0]}" == "${0}" ]] ; then
+ echo "This script can not be executed standalone - it can only be source()d" 1>&2
+ exit 1
+fi
+
if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
# we need a mirror that both has the standard index and a backpan version rolled