diff --git a/Makefile b/Makefile index e63486240..376d52e87 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ TEST_ARTIFACTS = prometheus prometheus.build search_index all: test test: build - go test ./... + go test ./... $(GO_TEST_FLAGS) build: $(MAKE) -C model diff --git a/Makefile.TRAVIS b/Makefile.TRAVIS index 74402dcdd..c80299518 100644 --- a/Makefile.TRAVIS +++ b/Makefile.TRAVIS @@ -28,6 +28,8 @@ export LDFLAGS := $(LDFLAGS) -L$(OVERLAY_ROOT)/lib export CGO_CFLAGS := $(CFLAGS) -lsnappy export CGO_LDFLAGS := $(LDFLAGS) +export GO_TEST_FLAGS := "-v" + GO_GET := go get -u -v -x APT_GET_INSTALL := sudo apt-get install -y WGET := wget -c