Skip to content

Commit

Permalink
Makefile,.travis.yml,hack: use go modules for build and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joelanford committed Jun 17, 2019
1 parent ec36f91 commit 75a1d5c
Show file tree
Hide file tree
Showing 3,519 changed files with 16 additions and 1,307,413 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.glide/

# Folders
vendor
_obj
_test
_output
Expand Down
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ language: go
go_import_path: github.com/operator-framework/operator-sdk
sudo: required

# go modules require xenial for mercurial TLS 1.2 support
dist: xenial

cache:
directories:
- $HOME/.cache/go-build
- $GOPATH/pkg/mod

go:
- 1.12.x
Expand All @@ -17,16 +19,15 @@ x_base_steps:
# before_install for jobs that require dep
- &dep_before_install
before_install:
- 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/
- travis_retry dep ensure -v
- travis_retry make tidy

# before_install for jobs that require go builds and do not run for doc-only changes
- &go_before_install
before_install:
# hack/ci/check-doc-only-update.sh needs to be sourced so
# that it can properly exit the test early with success
- source hack/ci/check-doc-only-update.sh
- 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/
- travis_retry dep ensure -v
- travis_retry make tidy

# Base go, ansbile, and helm job
- &test
Expand Down
Loading

0 comments on commit 75a1d5c

Please sign in to comment.