From c9a14b4a632b6d13682457bc06646b6698b2cee9 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 5 Oct 2014 12:32:31 +1100 Subject: [PATCH] only run codeclimate on master --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9550cb3330..3e6fad7629 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ test-cov: test-travis: node $(ISTANBUL_CMD) $(MOCHA_CMD) --report lcovonly -- --reporter spec - codeclimate < coverage/lcov.info + if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi publish: make clean