[BUGFIX] circleci for coveralls.io

This commit is contained in:
Martin Geno 2017-06-13 01:30:40 +02:00
parent 53fd52599d
commit 4364c09c8e
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@
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