Merge pull request #13 from docker/circle_ci

Enable Circle CI
This commit is contained in:
Arnaud Porterie
2015-03-04 18:10:01 -08:00
2 changed files with 15 additions and 10 deletions
-7
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
+15 -3
View File
@@ -1,6 +1,18 @@
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:
pre:
- which go > .gopath
override:
- sudo -E $(cat .gopath) test ./...
- test -z "$(goimports -d . | tee /dev/stderr)"
- go vet ./...
- test -z "$(golint ./... | tee /dev/stderr)"
- sudo -E $GO_BIN test -test.v ./...