Skip to content

Commit

Permalink
set GIT_BRANCH to TRAVIS_BRANCH
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Nov 23, 2015
1 parent b5af97b commit fcf3980
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/project-code-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fcf3980

Please sign in to comment.