1
0
mirror of https://github.com/restic/restic.git synced 2024-06-22 07:26:38 +02:00

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", "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