Sha256: 201482eb8dcf838728d113e99fc22b5bb9a92efa54762a3a82d3c1a7a73dc0c6

Contents?: true

Size: 468 Bytes

Versions: 7

Compression:

Stored size: 468 Bytes

Contents

#!/usr/bin/env bash
source bin/helpers/docker
runOnDocker ruby

echo "== Starting unit tests =="
bundle exec rake test
if [ $? -ne 0 ]; then
    echo -e "\n== Tests failed; push aborted! ==\n"
    exit 1
fi

echo "== Starting rubocop =="
bundle exec rubocop --format worst --format simple --format offenses
if [ $? -ne 0 ]; then
    echo -e "\n== Rubocop failed; push aborted! ==\n"
    echo -e "To auto-correct errors run:"
    echo -e "\tbin/rubo_fix"
    exit 1
fi

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slayer-0.5.4 bin/run_tests
slayer-0.5.3 bin/run_tests
slayer-0.5.2 bin/run_tests
slayer-0.5.1 bin/run_tests
slayer-0.5.0.beta bin/run_tests
slayer-0.4.0.beta4 bin/run_tests
slayer-0.4.0.beta3 bin/run_tests