0
0
Fork 0

set GIT_BRANCH to TRAVIS_BRANCH

This commit is contained in:
Marty Schoch 2015-11-23 11:10:55 -05:00
parent b5af97bc60
commit fcf3980cea
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ cat acc.out integration-acc.out | go run docs/merge-coverprofile.go > merged.out
if [ -n "$COVERALLS" ]
then
export GIT_BRANCH=`git rev-parse --abbrev-ref HEAD`
echo "Branch: $GIT_BRANCH - $TRAVIS_BRANCH"
export GIT_BRANCH=$TRAVIS_BRANCH
goveralls -service drone.io -coverprofile=merged.out -repotoken $COVERALLS
fi