Move to go1.9.4 with recent security release (#5502)

This commit is contained in:
Harshavardhana 2018-02-08 01:03:22 -08:00 committed by Nitish Tiwari
parent 047b7aff0c
commit fd3897d0c3
6 changed files with 9 additions and 9 deletions

View File

@ -26,4 +26,4 @@ after_success:
- bash <(curl -s https://codecov.io/bash)
go:
- 1.9.1
- 1.9.4

View File

@ -1,4 +1,4 @@
FROM golang:1.9.2-alpine3.6
FROM golang:1.9.4-alpine3.6
MAINTAINER Minio Inc <dev@minio.io>

View File

@ -1,4 +1,4 @@
FROM golang:1.9.2-alpine3.6
FROM golang:1.9.4-alpine3.6
MAINTAINER Minio Inc <dev@minio.io>

View File

@ -21,7 +21,7 @@ _init() {
## Minimum required versions for build dependencies
GIT_VERSION="1.0"
GO_VERSION="1.9.1"
GO_VERSION="1.9.4"
OSX_VERSION="10.8"
KNAME=$(uname -s)
ARCH=$(uname -m)

View File

@ -36,8 +36,8 @@ import (
)
const (
// Minio requires at least Go v1.9.1
minGoVersion = "1.9.1"
// Minio requires at least Go v1.9.4
minGoVersion = "1.9.4"
goVersionConstraint = ">= " + minGoVersion
)

View File

@ -28,9 +28,9 @@ func TestCheckGoVersion(t *testing.T) {
expectedErr error
}{
{minGoVersion, nil},
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.9.4. Please recompile accordingly")},
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.9.4. Please recompile accordingly")},
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.9.4. Please recompile accordingly")},
{".1", fmt.Errorf("Malformed version: .1")},
{"somejunk", fmt.Errorf("Malformed version: somejunk")},
}