Skip to content

Commit

Permalink
Use go modules when getting KinD (#714)
Browse files Browse the repository at this point in the history
Recently moved to modules and removed the vendor directory. In
order to get `go get` to work we need to ensure we are using
the modules as intended.

Fixes #713

Signed-off-by: John Schnake <[email protected]>
  • Loading branch information
johnSchnake authored May 11, 2019
1 parent a4e9a32 commit c76f2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ script:

before_install:
# Download and install Kind and kubectl
- go get sigs.k8s.io/kind
- GO111MODULE=on go get sigs.k8s.io/kind
- kind create cluster --config kind-config.yaml
- export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
Expand Down

0 comments on commit c76f2f5

Please sign in to comment.