Merge pull request #637 from stevvooe/fix-build-without-rados

Ensure that rados is disabled without build tag
This commit is contained in:
Stephen Day 2015-06-17 18:38:27 -07:00
commit f89e584aa5
4 changed files with 8 additions and 2 deletions

View file

@ -102,8 +102,7 @@ test:
- echo "$CIRCLE_PAIN" > ~/goverage.report
- gvm use stable; go list ./... | xargs -L 1 -I{} rm -f $GOPATH/src/{}/coverage.out:
pwd: $BASE_STABLE
- gvm use stable; go list ./... | xargs -L 1 -I{} godep go test -tags "$DOCKER_BUILDTAGS" -test.short -coverprofile=$GOPATH/src/{}/coverage.out {}:
- gvm use stable; go list -tags "$DOCKER_BUILDTAGS" ./... | xargs -L 1 -I{} godep go test -tags "$DOCKER_BUILDTAGS" -test.short -coverprofile=$GOPATH/src/{}/coverage.out {}:
timeout: 600
pwd: $BASE_STABLE

View file

@ -0,0 +1,3 @@
// Package rados implements the rados storage driver backend. Support can be
// enabled by including the "include_rados" build tag.
package rados

View file

@ -1,3 +1,5 @@
// +build include_rados
package rados
import (

View file

@ -1,3 +1,5 @@
// +build include_rados
package rados
import (