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