Skip to content

Commit 6a3d0ee

Browse files
committed
Makefile,.travis.yml,hack: use go modules for build and CI
1 parent ec36f91 commit 6a3d0ee

File tree

3,519 files changed

+17
-1307412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,519 files changed

+17
-1307412
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.glide/
33

44
# Folders
5+
vendor
56
_obj
67
_test
78
_output

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ language: go
22
go_import_path: github.com/operator-framework/operator-sdk
33
sudo: required
44

5+
# go modules require xenial for mercurial TLS 1.2 support
6+
dist: xenial
7+
58
cache:
69
directories:
710
- $HOME/.cache/go-build
8-
- $GOPATH/pkg/mod
911

1012
go:
1113
- 1.12.x
@@ -17,16 +19,15 @@ x_base_steps:
1719
# before_install for jobs that require dep
1820
- &dep_before_install
1921
before_install:
20-
- curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
21-
- travis_retry dep ensure -v
22+
- travis_retry make tidy
23+
2224
# before_install for jobs that require go builds and do not run for doc-only changes
2325
- &go_before_install
2426
before_install:
2527
# hack/ci/check-doc-only-update.sh needs to be sourced so
2628
# that it can properly exit the test early with success
2729
- source hack/ci/check-doc-only-update.sh
28-
- curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
29-
- travis_retry dep ensure -v
30+
- travis_retry make tidy
3031

3132
# Base go, ansbile, and helm job
3233
- &test

0 commit comments

Comments
 (0)