mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
parent
2457d2549f
commit
0ac3833edb
2 changed files with 17 additions and 12 deletions
|
@ -1,9 +1,2 @@
|
|||
# libnetwork
|
||||
The Go package to manage Linux network namespaces
|
||||
|
||||
# Next steps
|
||||
Following discussions with Solomon, next goals are:
|
||||
- Provide a package which exposes functionality over a JSON API
|
||||
- Provide a binary which serves that API over HTTP
|
||||
- Provide a package which implements the interfaces by calling out to the HTTP
|
||||
API
|
||||
|
|
|
@ -1,6 +1,18 @@
|
|||
test:
|
||||
pre:
|
||||
- which go > .gopath
|
||||
override:
|
||||
- sudo -E $(cat .gopath) test ./...
|
||||
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 ./...
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue