Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Update go version to 1.12 in check script and travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Apr 12, 2019
1 parent 4c48c55 commit cae71ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
language: go

go:
- 1.11.2
- 1.12.1

before_install:
- sudo apt-get install libseccomp-dev -qq
Expand Down
2 changes: 1 addition & 1 deletion hack/check-go-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cae71ea

Please sign in to comment.