1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Bump Travis go version to 1.9.1

This commit is contained in:
Jan Chaloupka
2018-05-22 13:25:51 +02:00
parent ccb61fc800
commit bc7be54e2e
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
language: go
go:
- 1.8.3
- 1.9.1
script:
- hack/verify-gofmt.sh
- make build

View File

@@ -23,7 +23,7 @@ DESCHEDULER_ROOT=$(dirname "${BASH_SOURCE}")/..
GO_VERSION=($(go version))
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.8|go1.9') ]]; then
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.8|go1.9|go1.10') ]]; then
echo "Unknown go version '${GO_VERSION}', skipping gofmt."
exit 1
fi