Update go version to 1.12 in check script and travis config

This commit is contained in:
Łukasz Osipiuk 2019-04-12 13:40:54 +02:00
parent 4c48c559a5
commit cae71ea6f5
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ services:
language: go
go:
- 1.11.2
- 1.12.1
before_install:
- sudo apt-get install libseccomp-dev -qq

View File

@ -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