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
|
- osx
|
||||||
- windows
|
- windows
|
||||||
install:
|
install:
|
||||||
|
- go get github.com/golang/dep/cmd/dep
|
||||||
- go get github.com/magefile/mage
|
- go get github.com/magefile/mage
|
||||||
- mage -v install
|
- mage -v install
|
||||||
|
|
|
@ -143,9 +143,6 @@ func Install() error {
|
||||||
// InstallDeps Runs dep ensure and installs additional dependencies.
|
// InstallDeps Runs dep ensure and installs additional dependencies.
|
||||||
func InstallDeps() error {
|
func InstallDeps() error {
|
||||||
fmt.Println("Installing Deps...")
|
fmt.Println("Installing Deps...")
|
||||||
|
|
||||||
exec.Command("go", "get", "-u", "github.com/golang/dep/cmd/dep")
|
|
||||||
|
|
||||||
err := exec.Command("dep", "ensure").Run()
|
err := exec.Command("dep", "ensure").Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue