diff --git a/.travis.yml b/.travis.yml index a7e8c2b..2b494e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,6 @@ before_script: install: - go get github.com/Masterminds/glide - - go get github.com/onsi/ginkgo/ginkgo script: - make test diff --git a/Makefile b/Makefile index d27ce07..85513fe 100644 --- a/Makefile +++ b/Makefile @@ -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 .