Add test dependencies

This clears up .travis.yaml as well as adds the test dependencies when
running `make test` so the user running the tests has the most
up-to-date ones available.
This commit is contained in:
Charlie Drage 2017-04-19 10:42:46 -04:00
parent d6aedda333
commit 6b32b938a6
2 changed files with 10 additions and 8 deletions

View File

@ -15,13 +15,6 @@ matrix:
- go: 1.7
- go: 1.8
before_install:
- go get github.com/mattn/goveralls
- go get github.com/modocache/gover
- go get github.com/Masterminds/glide
- go get github.com/sgotti/glide-vc
- go get github.com/golang/lint/golint
install:
- true

View File

@ -83,7 +83,16 @@ check-vendor:
# Run all tests
.PHONY: test
test: check-vendor validate test-unit-cover install test-cmd
test: test-dep check-vendor validate test-unit-cover install test-cmd
# Install all the required test-dependencies before executing tests (only valid when running `make test`)
.PHONY: test-dep
test-dep:
go get github.com/mattn/goveralls
go get github.com/modocache/gover
go get github.com/Masterminds/glide
go get github.com/sgotti/glide-vc
go get github.com/golang/lint/golint
# build docker image that is used for running all test localy
.PHONY: test-image