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

View file

@ -42,7 +42,9 @@ func (env *TravisEnvironment) Prepare() {
run("go", "get", "golang.org/x/tools/cmd/cover") run("go", "get", "golang.org/x/tools/cmd/cover")
run("go", "get", "github.com/mattn/goveralls") run("go", "get", "github.com/mattn/goveralls")
run("go", "get", "github.com/pierrre/gotestcover") 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" { if runtime.GOOS == "darwin" {
// install the libraries necessary for fuse // install the libraries necessary for fuse