rake-script.sh in fog-azure-rm-temp-0.0.4 vs rake-script.sh in fog-azure-rm-temp-0.0.5
- old
+ new
@@ -1,4 +1,10 @@
#!/bin/bash
rake cc_coverage
+R=$?
export CODECLIMATE_REPO_TOKEN="b1401494baa004d90402414cb33a7fc6420fd3693e60c677a120ddefd7d84cfd"
-codeclimate-test-reporter
\ No newline at end of file
+codeclimate-test-reporter
+if [ $R == 1 ]; then
+ exit 1
+else
+ exit 0
+fi