Register dep installation in travis setup

This commit is contained in:
Christian Claus 2018-04-13 12:53:10 +02:00
parent 3e45796d72
commit 4b6d05b6a9
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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