From 4b6d05b6a9eb08340a51d84d9e65604779af9f61 Mon Sep 17 00:00:00 2001 From: Christian Claus Date: Fri, 13 Apr 2018 12:53:10 +0200 Subject: [PATCH] Register dep installation in travis setup --- .travis.yml | 1 + magefile.go | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cc49583..f4cc0a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,6 @@ os: - osx - windows install: + - go get github.com/golang/dep/cmd/dep - go get github.com/magefile/mage - mage -v install diff --git a/magefile.go b/magefile.go index 4627480..d901de3 100644 --- a/magefile.go +++ b/magefile.go @@ -143,9 +143,6 @@ func Install() error { // InstallDeps Runs dep ensure and installs additional dependencies. func InstallDeps() error { fmt.Println("Installing Deps...") - - exec.Command("go", "get", "-u", "github.com/golang/dep/cmd/dep") - err := exec.Command("dep", "ensure").Run() if err != nil { return err