build.sh in quiz_api_client-2.4.2 vs build.sh in quiz_api_client-2.4.3
- old
+ new
@@ -22,9 +22,14 @@
exit $exit_code
}
trap cleanup INT TERM EXIT
docker-compose build --pull
+
+echo "Running Rubocop..."
+docker-compose run --rm testrunner /bin/bash -lc \
+ "rvm-exec 2.4 bundle exec rubocop --fail-level autocorrect"
+
echo "Running test suite..."
docker-compose run --name coverage testrunner $@
echo
echo "Running contract tests..."