summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-05 08:28:22 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-05 08:28:22 -0800
commitdf97f25c2546dee4f7809bdfa4645e9a2a36a309 (patch)
tree8f787a28778986e78b1dc852880a9c514427cf72 /Makefile
parentba1feac08cfa9c9d430936fcb392b052850dad78 (diff)
downloadchat-df97f25c2546dee4f7809bdfa4645e9a2a36a309.tar.gz
chat-df97f25c2546dee4f7809bdfa4645e9a2a36a309.tar.bz2
chat-df97f25c2546dee4f7809bdfa4645e9a2a36a309.zip
adding more unit tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4036f3c6b..dacc1a19b 100644
--- a/Makefile
+++ b/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) ./...