From 1fde8720163c650ffa135467b0dfe9916d806ad5 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 26 Jan 2016 22:36:06 +0100 Subject: [PATCH] CI: only build minio on Go 1.5.1 and above --- run_integration_tests.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_integration_tests.go b/run_integration_tests.go index 5ea7957bc..27c1ee4c2 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -42,7 +42,9 @@ func (env *TravisEnvironment) Prepare() { run("go", "get", "golang.org/x/tools/cmd/cover") run("go", "get", "github.com/mattn/goveralls") run("go", "get", "github.com/pierrre/gotestcover") - runWithEnv(envVendorExperiment, "go", "get", "github.com/minio/minio") + if goVersionAtLeast151() { + runWithEnv(envVendorExperiment, "go", "get", "github.com/minio/minio") + } if runtime.GOOS == "darwin" { // install the libraries necessary for fuse