From 4a4da15d4fde90cf01142bb2e0bf7c238d9ee8cb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 11:45:55 +0100 Subject: [PATCH] KCR29: travis-ci: should only submit coverage report from Travis-CI --- travis-ci/travis-coveralls-report.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis-ci/travis-coveralls-report.sh b/travis-ci/travis-coveralls-report.sh index aab1704..ae6c472 100755 --- a/travis-ci/travis-coveralls-report.sh +++ b/travis-ci/travis-coveralls-report.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash -./mvnw --projects builder,plugin test jacoco:report coveralls:report +if [ "$TRAVIS" = "true" ];then + ./mvnw --projects builder,plugin test jacoco:report coveralls:report +fi