Sha256: 2530d99f18e55c37bbbcaba6727d738f5bba5104a567f2f78cafe128bb8a123d

Contents?: true

Size: 481 Bytes

Versions: 24

Compression:

Stored size: 481 Bytes

Contents

#!/usr/bin/env bash
function finish {
    rm -rf rerun.txt failed.txt
}
trap finish EXIT

bundle install
RSPEC_RESULT=0
if [ "${RECORD:-false}" == "false" ]; then
    bundle exec rspec
    RSPEC_RESULT=$?
fi

bundle exec cucumber -f rerun -o rerun.txt -f pretty
CUCUMBER_RESULT=$?
if [ "$RERECORD_FAILED_TESTS" == "true" ] && [ "$CUCUMBER_RESULT" -ne "0" ]; then
    RECORD=true bundle exec cucumber @rerun.txt
    CUCUMBER_RESULT=$?
fi

exit "$(($RSPEC_RESULT+$CUCUMBER_RESULT))"

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
datadog_api_client-2.15.0 run-tests.sh
datadog_api_client-2.14.0 run-tests.sh
datadog_api_client-2.13.0 run-tests.sh
datadog_api_client-2.12.0 run-tests.sh
datadog_api_client-2.11.0 run-tests.sh
datadog_api_client-2.10.0 run-tests.sh
datadog_api_client-2.9.0 run-tests.sh
datadog_api_client-2.8.0 run-tests.sh
datadog_api_client-2.7.0 run-tests.sh
datadog_api_client-2.6.0 run-tests.sh
datadog_api_client-2.5.0 run-tests.sh
datadog_api_client-2.4.0 run-tests.sh
datadog_api_client-2.3.0 run-tests.sh
datadog_api_client-2.2.0 run-tests.sh
datadog_api_client-2.1.0 run-tests.sh
datadog_api_client-2.0.2 run-tests.sh
datadog_api_client-2.0.1 run-tests.sh
datadog_api_client-2.0.0 run-tests.sh
datadog_api_client-1.11.0 run-tests.sh
datadog_api_client-1.10.0 run-tests.sh