From 0a68f3d7f9a019c08c1dbe0b1873777965130914 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Wed, 22 Mar 2017 02:28:12 -0700 Subject: [PATCH] Remove the token from file and add "report" param --- unittests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittests.sh b/unittests.sh index bf2878403..3dfef3760 100755 --- a/unittests.sh +++ b/unittests.sh @@ -1,2 +1,5 @@ nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage -CODECLIMATE_REPO_TOKEN=a668a3d02db00ab993ad82e1b3d5d2eb00c3c2e26e659153ae4cfd2f12aaad23 codeclimate-test-reporter + +if [ "$1" = "report" ]; then + codeclimate-test-reporter +fi