diff --git a/.travis.yml b/.travis.yml index a7304df17..814e766c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ env: - ARCH=i686 script: +- make - make test GOFLAGS="-race" - make coverage diff --git a/Makefile b/Makefile index 7c19fa231..1f2af664d 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,8 @@ fmt: lint: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint github.com/minio/minio/cmd... - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint github.com/minio/minio/pkg... + @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint -set_exit_status github.com/minio/minio/cmd... + @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint -set_exit_status github.com/minio/minio/pkg... ineffassign: @echo "Running $@:" diff --git a/cmd/postpolicyform_test.go b/cmd/postpolicyform_test.go index 4294d5a0c..0281da871 100644 --- a/cmd/postpolicyform_test.go +++ b/cmd/postpolicyform_test.go @@ -58,7 +58,7 @@ func TestPostPolicyForm(t *testing.T) { for i, tt := range testCases { formValues := make(map[string]string) formValues["Bucket"] = tt.Bucket - formValues["Acl"] = tt.Acl + formValues["Acl"] = tt.ACL formValues["Key"] = tt.Key formValues["X-Amz-Date"] = tt.XAmzDate formValues["X-Amz-Meta-Uuid"] = tt.XAmzMetaUUID