Register dep installation in travis setup
This commit is contained in:
parent
3e45796d72
commit
4b6d05b6a9
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue