CI setup for Go
go get -d -v ./... | |
# get test dependencies | |
# go get -t will make this unnecessary in go 1.2 <https://codereview.appspot.com/12566046> | |
# go get launchpad.net/gocheck | |
# go get github.com/axw/gocov/gocov | |
# go get github.com/mattn/goveralls | |
go build -v ./... | |
go test -v ./... | |
# or instead of go test, use https://github.com/mattn/goveralls | |
# goveralls -v -service drone.io $COVERALLS_TOKEN |
This comment has been minimized.
This comment has been minimized.
Code coverage: https://github.com/mattn/goveralls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Dcoumentation
http://about.travis-ci.org/docs/user/languages/go/
http://docs.drone.io/golang.html
http://devcenter.wercker.com/articles/languages/go.html
I'm not sure the merit in not installing dependencies with go get (-d) and then building them after. That's what Travis does. Maybe it saves a few cycles?