forked from LaconicNetwork/kompose
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:
parent
d6aedda333
commit
6b32b938a6
@ -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
|
||||
|
||||
|
||||
11
Makefile
11
Makefile
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user