1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/circle.yml
Arnaud Porterie 0ac3833edb Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 18:05:25 -08:00

18 lines
485 B
YAML

machine:
# sudo -E doesn't preserve $PATH, so go isn't found anymore.
environment:
GO_BIN: $(which go)
dependencies:
post:
- go get github.com/axw/gocov/gocov
- go get github.com/golang/lint/golint
- go get golang.org/x/tools/cmd/goimports
test:
override:
- test -z "$(goimports -d . | tee /dev/stderr)"
- go vet ./...
- test -z "$(golint ./... | tee /dev/stderr)"
- sudo -E $GO_BIN test -test.v ./...