Merge pull request #558 from cdrage/add-dependencies-to-makefile

Add test dependencies
This commit is contained in:
Charlie Drage 2017-04-19 11:29:45 -04:00 committed by GitHub
commit 46426fb659
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