From df97f25c2546dee4f7809bdfa4645e9a2a36a309 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Sun, 5 Jul 2015 08:28:22 -0800 Subject: [PATCH] adding more unit tests --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 4036f3c6bf..dacc1a19bc 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) ./...