From cae71ea6f5c9cf06acc7d4b5213fd651e0d4610e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Osipiuk?= Date: Fri, 12 Apr 2019 13:40:54 +0200 Subject: [PATCH] Update go version to 1.12 in check script and travis config --- .travis.yml | 2 +- hack/check-go-version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c07a4b527218..100c8230718a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ services: language: go go: - - 1.11.2 + - 1.12.1 before_install: - sudo apt-get install libseccomp-dev -qq diff --git a/hack/check-go-version.sh b/hack/check-go-version.sh index aa9fe0f89e60..05beef69e4e3 100755 --- a/hack/check-go-version.sh +++ b/hack/check-go-version.sh @@ -18,7 +18,7 @@ set -euo pipefail GO_VERSION=($(go version)) -if ! echo "${GO_VERSION[2]}" | grep -Eq 'go1.9|1.10|1.11'; then +if ! echo "${GO_VERSION[2]}" | grep -Eq '1.12'; then echo "Unsupported go version ${GO_VERSION}" return 1 fi