adding more unit tests
Этот коммит содержится в:
6
Makefile
6
Makefile
@@ -19,6 +19,9 @@ all: travis
|
|||||||
|
|
||||||
travis:
|
travis:
|
||||||
@echo building for travis
|
@echo building for travis
|
||||||
|
|
||||||
|
rm -Rf $(DIST_ROOT)
|
||||||
|
@go clean $(GOFLAGS) -i ./...
|
||||||
|
|
||||||
@cd web/react/ && npm install
|
@cd web/react/ && npm install
|
||||||
|
|
||||||
@@ -28,6 +31,9 @@ travis:
|
|||||||
|
|
||||||
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=180s ./api || exit 1
|
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=180s ./api || exit 1
|
||||||
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=12s ./model || exit 1
|
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=12s ./model || exit 1
|
||||||
|
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=120s ./store || exit 1
|
||||||
|
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=120s ./utils || exit 1
|
||||||
|
@go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=120s ./web || exit 1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@go build $(GOFLAGS) ./...
|
@go build $(GOFLAGS) ./...
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user