Update go version used from 1.10.2 to 1.11.2 to match one used by k8s

This commit is contained in:
Łukasz Osipiuk 2018-11-26 15:27:09 +01:00
parent 0da431941b
commit fc98351e02
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.10.2
FROM golang:1.11.2
LABEL maintainer="Marcin Wielgus <mwielgus@google.com>"
ENV GOPATH /gopath/

View File

@ -18,7 +18,7 @@ set -euo pipefail
GO_VERSION=($(go version))
if ! echo "${GO_VERSION[2]}" | grep -Eq 'go1.9|1.10'; then
if ! echo "${GO_VERSION[2]}" | grep -Eq 'go1.9|1.10|1.11'; then
echo "Unsupported go version ${GO_VERSION}"
return 1
fi