This wercker step runs goveralls to extract code coverage from your project and uploads it to Coveralls.
box: google/golang
build:
steps:
- setup-go-workspace
- golint
- script:
name: go build
code: |
go build ./...
- script:
name: go test
code: |
go test ./...
- zhevron/goveralls:
token: $COVERALLS_TOKEN
Name | Type | Default | Description |
---|---|---|---|
token | string | Your Coveralls repository token. |
- Pass GIT_BRANCH variable to goveralls
- Added debug messages that show the git branch used, the go version used and each directory checked.
- Resolve branch name if build is run as a detached head.
- Reverted old cover tool check as the new one was far too slow
- Simplified old cover tool check
- Removed manual exits on script end
- Debug release
- Initial release
wercker-step-goveralls is licensed under the MIT license.
See LICENSE.md
for the full license.