Add version checks for golang 1.5.1

This commit is contained in:
Harshavardhana 2015-09-17 16:32:09 -07:00
parent 87a20e3ba3
commit b5246dbd7d
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ before_install:
- cd ..
sudo: false
go:
- 1.5
- 1.5.1
notifications:
slack:
secure: K9tsn5MvrCAxuEZTxn+m3Kq1K2NG2xMEJFSv/sTp+RQBW7TslPHzv859GsIvrm8mU1y1btOU9RlOzqrRUczI5cJpE8IL1oljPZbXrIXgetE0kbsw0Wpy99g27UQ2VGp933WDu8tfj7zU4cZv+BI0RltNLwqYO6GWXmcWP0IueCU=

View File

@ -24,7 +24,7 @@ _init() {
CLANG_VERSION="3.5"
YASM_VERSION="1.2.0"
GIT_VERSION="1.0"
GO_VERSION="1.5"
GO_VERSION="1.5.1"
OSX_VERSION="10.8"
UNAME=$(uname -sm)

View File

@ -90,7 +90,7 @@ func checkGolangRuntimeVersion() {
v1 := newVersion(getNormalizedGolangVersion())
v2 := newVersion(minGolangRuntimeVersion)
if v1.LessThan(v2) {
Errorln("Old Golang runtime version " + v1.String() + " detected., mc requires minimum go1.5 or later.")
Errorln("Old Golang runtime version " + v1.String() + " detected., mc requires minimum go1.5.1 or later.")
}
}