sum7
/
yaja
Archived
1
0
Fork 0

[BUGFIX] .text-coverage for strange repos

This commit is contained in:
Martin/Geno 2018-02-14 11:11:47 +01:00
parent 06d61b6b71
commit aacc788efe
1 changed files with 1 additions and 5 deletions

View File

@ -4,10 +4,6 @@
CI=$1 CI=$1
echo "run for $CI" 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 echo "mode: count" > profile.cov
FAIL=0 FAIL=0
@ -26,7 +22,7 @@ done
# Failures have incomplete results, so don't send # Failures have incomplete results, so don't send
if [ "$FAIL" -eq 0 ]; then 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 bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN -f profile.cov
fi fi