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" ]
|
if [ -n "$COVERALLS" ]
|
||||||
then
|
then
|
||||||
export GIT_BRANCH=`git rev-parse --abbrev-ref HEAD`
|
export GIT_BRANCH=$TRAVIS_BRANCH
|
||||||
echo "Branch: $GIT_BRANCH - $TRAVIS_BRANCH"
|
|
||||||
goveralls -service drone.io -coverprofile=merged.out -repotoken $COVERALLS
|
goveralls -service drone.io -coverprofile=merged.out -repotoken $COVERALLS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user