-
Notifications
You must be signed in to change notification settings - Fork 42
Setup Go
Wendel Hime edited this page Nov 25, 2019
·
2 revisions
-
Follow the instructions to setup goveralls
-
Export the following environment variables
-
COVERALLS_TOKEN: This is the token from the OpenCov project page. It should be kept secret, so use your CI environment when possible. -
COVERALLS_ENDPOINT: This is the endpoint of your OpenCov installation. -
GIT_BRANCH(optional): This is the branch for the current build. A smart default will be use if you do not provide it.
-
-
Append
-endpoint=$COVERALLS_ENDPOINTto thegoverallscommand. For example:goveralls -coverprofile=profile.cov -endpoint=$COVERALLS_ENDPOINT