Bump Travis go version to 1.9.1

This commit is contained in:
Jan Chaloupka
2018-05-22 14:50:20 +02:00
parent ccb61fc800
commit bc7be54e2e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
language: go
go:
- 1.8.3
- 1.9.1
script:
- hack/verify-gofmt.sh
- make build
+1 -1
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