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

22 lines
621 B
YAML
Raw Normal View History

machine:
# sudo -E doesn't preserve $PATH, so go isn't found anymore.
environment:
GO_BIN: $(which go)
GO_PATH: /home/ubuntu/.go_workspace/bin/
dependencies:
override:
- go get github.com/tools/godep
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 -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
- go vet ./...
- test -z "$(golint ./... | tee /dev/stderr)"
- sudo -E $GO_BIN test -test.v ./...