Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim down travis to latest Go versions #111

Merged
merged 1 commit into from
Aug 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: go
dist: xenial
go:
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
go_import_path: k8s.io/utils
Expand Down
14 changes: 5 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,20 @@
# limitations under the License.

.PHONY: verify
verify: depend verify-fmt verify-lint vet
go test -v -race ./...

.PHONY: depend
depend:
go get -t -v ./...
verify: verify-fmt verify-lint vet
GO111MODULE=on go test -v -race ./...

.PHONY: verify-fmt
verify-fmt:
./hack/verify-gofmt.sh
GO111MODULE=on ./hack/verify-gofmt.sh

.PHONY: verify-lint
verify-lint:
./hack/verify-golint.sh
GO111MODULE=on ./hack/verify-golint.sh

.PHONY: vet
vet:
./hack/verify-govet.sh
GO111MODULE=on ./hack/verify-govet.sh

.PHONY: update-fmt
update-fmt:
Expand Down