godep: vendor all dependencies & add circle-test.sh
Vendor dependencies and use circle-test.sh to run CI process, because the CircleCI autobuild operations are not compatible with using godep.
This commit is contained in:
9
Makefile
9
Makefile
@@ -8,21 +8,18 @@ ifeq ($(UNAME), Linux)
|
||||
endif
|
||||
|
||||
prepare:
|
||||
go get -d -v -t ./...
|
||||
godep go install ./...
|
||||
|
||||
docker-compose:
|
||||
docker-compose up -d
|
||||
|
||||
test: prepare docker-compose
|
||||
go test -v ./...
|
||||
godep go test -v ./...
|
||||
|
||||
test-short: prepare
|
||||
go test -v -short ./...
|
||||
godep go test -v -short ./...
|
||||
|
||||
test-cleanup:
|
||||
docker-compose kill
|
||||
|
||||
update:
|
||||
go get -u -v -d -t ./...
|
||||
|
||||
.PHONY: test
|
||||
|
||||
Reference in New Issue
Block a user