mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Run tests only on travis, local builds just do govet, golint and gofmt
This commit is contained in:
parent
c223427cbf
commit
bd33ccc3a2
@ -8,6 +8,9 @@ before_install:
|
||||
- make
|
||||
- export PATH=$PATH:`pwd`
|
||||
- cd ..
|
||||
script:
|
||||
- make test
|
||||
- make test GOFLAGS="-race"
|
||||
sudo: false
|
||||
go:
|
||||
- 1.5.1
|
||||
|
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user