Skip to content

Commit

Permalink
Bump the Go version up to 1.14.2 for Travis CI (kubeflow#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata authored and sperlingxx committed Apr 20, 2020
1 parent 6a10439 commit 91957e9
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 91957e9

Please sign in to comment.