Skip to content

Commit 7bcadec

Browse files
committed
[ci] Run go vet, gofmt and the race detector during tests.
1 parent 4c1594f commit 7bcadec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
language: go
22
sudo: false
3-
43
go:
54
- 1.3
65
- 1.4
76
- 1.5
87
- tip
8+
install:
9+
- go get golang.org/x/tools/cmd/vet
10+
script:
11+
- go get -t -v ./...
12+
- diff -u <(echo -n) <(gofmt -d -s .)
13+
- go tool vet .
14+
- go test -v -race ./...

0 commit comments

Comments
 (0)