Skip to content

Commit

Permalink
Use go mod (#1144)
Browse files Browse the repository at this point in the history
* Update k8s to 1.16

Update kubeflow/commmon

* godep ensure

Also update some files with correct version

* Update kube-batch and apiextensions-apiserver

* Add vendor.go to include code-generator

* go mod init

* Update travis.yml to use go mod

* Remove Gopkg.toml and lock file

* go mod tidy && go mod vendor

* Add bash to run scripts

* update codegen

* Run go mod vendor after go get goveralls

* re-generate after install openapi-gen
  • Loading branch information
xychu committed May 22, 2020
1 parent 7e06f5c commit 562d50f
Show file tree
Hide file tree
Showing 2,632 changed files with 417,081 additions and 391,101 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
language: go

go:
- "1.12"
- "1.13"
- "1.14"

go_import_path: github.com/kubeflow/tf-operator

install:
# get coveralls.io support
- go get github.com/mattn/goveralls
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.18.0
- go mod vendor
- go install ./vendor/k8s.io/code-generator/cmd/openapi-gen

script:
Expand Down
Loading

0 comments on commit 562d50f

Please sign in to comment.