From b5246dbd7d9f745f3d727affd8493a0630eb1510 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 17 Sep 2015 16:32:09 -0700 Subject: [PATCH] Add version checks for golang 1.5.1 --- .travis.yml | 2 +- buildscripts/checkdeps.sh | 2 +- verify-runtime.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9d8162b6f..32b2a3fac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: - cd .. sudo: false go: -- 1.5 +- 1.5.1 notifications: slack: secure: K9tsn5MvrCAxuEZTxn+m3Kq1K2NG2xMEJFSv/sTp+RQBW7TslPHzv859GsIvrm8mU1y1btOU9RlOzqrRUczI5cJpE8IL1oljPZbXrIXgetE0kbsw0Wpy99g27UQ2VGp933WDu8tfj7zU4cZv+BI0RltNLwqYO6GWXmcWP0IueCU= diff --git a/buildscripts/checkdeps.sh b/buildscripts/checkdeps.sh index f1fe08634..7d0e4edfb 100644 --- a/buildscripts/checkdeps.sh +++ b/buildscripts/checkdeps.sh @@ -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) diff --git a/verify-runtime.go b/verify-runtime.go index 355daec29..6b40663a9 100644 --- a/verify-runtime.go +++ b/verify-runtime.go @@ -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.") } }