From aacc788efe75d5232ea9a844a549ecbbf67ceaf8 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Wed, 14 Feb 2018 11:11:47 +0100 Subject: [PATCH] [BUGFIX] .text-coverage for strange repos --- .test-coverage | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.test-coverage b/.test-coverage index c6bd28b..0ea8228 100755 --- a/.test-coverage +++ b/.test-coverage @@ -4,10 +4,6 @@ CI=$1 echo "run for $CI" -if [ "$CI" == "circle-ci" ]; then - cd ${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} -fi - echo "mode: count" > profile.cov FAIL=0 @@ -26,7 +22,7 @@ done # Failures have incomplete results, so don't send if [ "$FAIL" -eq 0 ]; then - goveralls -service=$CI -v -coverprofile=profile.cov + goveralls -service=$CI -v -coverprofile=profile.cov -repotoken=$COVERALLS_REPO_TOKEN bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN -f profile.cov fi