From 1bed808434e9597fd79a040ad0fd68c4fb02c05c Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Thu, 19 Sep 2019 14:40:04 +0200 Subject: [PATCH] Explicitly set the repository root directory Looks like Travis does not honor the new repository location. --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4a7fc6f587..5e847ca457 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,11 @@ before_script: - kind load docker-image kubernetes/pause - cp "$(kind get kubeconfig-path --name="kind")" /tmp/admin.conf script: +- mkdir -p ~/travis/gopath/src/sigs.k8s.io/ +- pwd +- ls ~/travis/gopath/src +- ls ~/travis/gopath/src/github.com +- mv ~/travis/gopath/src/github.com/kubernetes-sigs/descheduler ~/travis/gopath/src/sigs.k8s.io/. - hack/verify-gofmt.sh - make lint - make build