From c76f2f5628e8fcfe66720bceac12323915157bf0 Mon Sep 17 00:00:00 2001 From: John Schnake Date: Sat, 11 May 2019 14:05:02 -0500 Subject: [PATCH] Use go modules when getting KinD (#714) 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 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1d16c5a72..1af55aef2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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