Just build ginkgo into vendor/bin and use that

This commit is contained in:
Paul Bonser 2016-09-27 14:46:09 -05:00
parent 2bd116556b
commit 5acff13ac5
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,6 @@ before_script:
install:
- go get github.com/Masterminds/glide
- go get github.com/onsi/ginkgo/ginkgo
script:
- make test

View File

@ -5,10 +5,11 @@ help:
@echo "- watch: watch for changes and re-run tests"
deps:
glide install
glide install && mkdir -p vendor/bin && go build -o vendor/bin/ginkgo github.com/onsi/ginkgo/ginkgo
test: deps
ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
vendor/bin/ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
watch: deps
ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .
vendor/bin/ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .