mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
adding more unit tests
This commit is contained in:
6
Makefile
6
Makefile
@@ -19,6 +19,9 @@ all: travis
|
||||
|
||||
travis:
|
||||
@echo building for travis
|
||||
|
||||
rm -Rf $(DIST_ROOT)
|
||||
@go clean $(GOFLAGS) -i ./...
|
||||
|
||||
@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=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:
|
||||
@go build $(GOFLAGS) ./...
|
||||
|
||||
Reference in New Issue
Block a user