Skip to content

Commit

Permalink
Bump the Go version up to 1.14.2 for Travis CI (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata authored Apr 10, 2020
1 parent 93f46f2 commit 298b8c3
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 @@ -2,7 +2,7 @@ jobs:
include:
- name: "Go unit tests, gofmt, golint and coveralls"
language: go
go: "1.12.5"
go: "1.14.2"
go_import_path: github.com/kubeflow/katib
install:
- curl -L -O "https://github.com/kubernetes-sigs/kubebuilder/releases/download/v1.0.7/kubebuilder_1.0.7_linux_amd64.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-gofmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if ! which gofmt > /dev/null; then
exit 1
fi

diff=$(find . -name "*.go" | grep -v "\/vendor\/" | xargs gofmt -s -d 2>&1)
diff=$(find . -name "*.go" | grep -v "\/vendor\/" | grep -v "\.pb\.go$" | xargs gofmt -s -d 2>&1)
if [[ -n "${diff}" ]]; then
echo "${diff}"
echo
Expand Down

0 comments on commit 298b8c3

Please sign in to comment.