Run tests only on travis, local builds just do govet, golint and gofmt

This commit is contained in:
Harshavardhana
2015-09-17 22:10:09 -07:00
parent c223427cbf
commit bd33ccc3a2
2 changed files with 7 additions and 1 deletions

View File

@@ -39,7 +39,10 @@ cyclo:
build: getdeps verifiers
@echo "Installing minio:"
@GO15VENDOREXPERIMENT=1 go generate ./...
@GO15VENDOREXPERIMENT=1 go test -race github.com/minio/minio/pkg...
test: build
@echo "Running all testing:"
@GO15VENDOREXPERIMENT=1 go test $(GOFLAGS) github.com/minio/minio/pkg...
gomake-all: build
@GO15VENDOREXPERIMENT=1 go install github.com/minio/minio