Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
.ci: Fix coveralls reports
Browse files Browse the repository at this point in the history
Coveralls needs its report to be performed against master branch to
report properly the code coverage to Github.

Signed-off-by: Sebastien Boeuf <[email protected]>
  • Loading branch information
Sebastien Boeuf committed Nov 6, 2017
1 parent 9b7af20 commit 7f4a3fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/jenkins_job_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ go get ${vc_repo} || true
cd "${GOPATH}/src/${vc_repo}"
if [ "${ghprbPullId}" ] && [ "${ghprbTargetBranch}" ]
then
git fetch origin "pull/${ghprbPullId}/head" && git checkout FETCH_HEAD && git rebase "origin/${ghprbTargetBranch}"
git fetch origin "pull/${ghprbPullId}/head" && git checkout master && git reset --hard FETCH_HEAD && git rebase "origin/${ghprbTargetBranch}"
else
git fetch origin && git checkout origin/master
git fetch origin && git checkout master && git reset --hard origin/master
fi

# Setup environment and run the tests
Expand Down

0 comments on commit 7f4a3fb

Please sign in to comment.