CI: only build minio on Go 1.5.1 and above

This commit is contained in:
Alexander Neumann 2016-01-26 22:36:06 +01:00
parent 2701eabe39
commit 1fde872016
1 changed files with 3 additions and 1 deletions

View File

@ -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