set GIT_BRANCH to TRAVIS_BRANCH
This commit is contained in:
parent
b5af97bc60
commit
fcf3980cea
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user