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: install:
- go get github.com/Masterminds/glide - go get github.com/Masterminds/glide
- go get github.com/onsi/ginkgo/ginkgo
script: script:
- make test - make test

View File

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