Circle CI

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
Arnaud Porterie 2015-03-04 14:49:32 -08:00
parent 2457d2549f
commit 0ac3833edb
2 changed files with 17 additions and 12 deletions

View File

@ -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

View File

@ -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 ./...