Sha256: 7b98df1d5d164e8aa28c4f23fc23c0f72a80ad1c0c75a73dadafe7d5bd40e2ad
Contents?: true
Size: 599 Bytes
Versions: 7
Compression:
Stored size: 599 Bytes
Contents
#!/usr/bin/env bash if [[ $DOCKER_CONTAINER -ne 1 ]]; then if [[ $(docker-compose ps -q | wc -l) -gt 0 ]]; then source bin/helpers/docker runOnDocker ruby fi fi echo "Starting unit tests" bundle exec rake spec if [ $? -ne 0 ]; then echo "" echo "" echo "Unit tests failed; push aborted!" exit 1 fi echo echo "Starting rubocop" bundle exec rubocop --format worst --format simple --format offenses if [ $? -ne 0 ]; then echo "" echo "" echo "Rubocop failed; push aborted!" exit 1 fi echo echo "All pre-push checks passed! Pushing to remote"
Version data entries
7 entries across 7 versions & 1 rubygems