We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 617036a + 9c36f28 commit 7ef6fbfCopy full SHA for 7ef6fbf
.travis.yml
@@ -4,7 +4,6 @@ go:
4
- "1.10.x"
5
6
script:
7
- - make get
8
- make test
9
- make lint
10
Makefile
@@ -18,15 +18,15 @@ get:
18
go get -v -t -tags "unit integration" $(TOPLEVEL_DIRS)
19
20
.PHONY: test
21
-test:
+test: get
22
go test -race -tags unit -count 1 $(TOPLEVEL_DIRS)
23
24
.PHONY: integration
25
-integration:
+integration: get
26
go test -race -tags integration -p 1 -count 1 $(TOPLEVEL_DIRS) # p=1 to force Go to run pkg tests serially.
27
28
.PHONY: build
29
-build:
+build: get
30
go build -v -o "$(GOPATH)/bin/$(TSDBCTL_BIN_NAME)" ./cmd/tsdbctl
31
32
.PHONY: lint
0 commit comments