Sha256: 4f498e926977b5c7259a621afae7268b266f2dc49ce21f7a22f501d6dac3fea9

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

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

echo "== Starting unit tests =="
bundle exec appraisal rspec
if [ $? -ne 0 ]; then
    echo -e "\n== RSpec 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

4 entries across 4 versions & 1 rubygems

Version Path
phi_attrs-0.2.4 bin/run_tests
phi_attrs-0.2.2 bin/run_tests
phi_attrs-0.2.1 bin/run_tests
phi_attrs-0.2.0 bin/run_tests