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