Last active
December 22, 2015 02:18
-
-
Save nathany/6402146 to your computer and use it in GitHub Desktop.
CI setup for Go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?