Skip to content

Instantly share code, notes, and snippets.

@nathany

nathany/Drone.io

Last active Dec 22, 2015
Embed
What would you like to do?
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
@nathany

This comment has been minimized.

Copy link
Owner Author

@nathany nathany commented Sep 1, 2013

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?

@nathany

This comment has been minimized.

Copy link
Owner Author

@nathany nathany commented Sep 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.