forked from mirror/websocket
.travis.yml go vet fix.
This commit is contained in:
parent
6b3d49710b
commit
3d02343cd3
|
@ -3,18 +3,16 @@ sudo: false
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- go: 1.2
|
|
||||||
- go: 1.3
|
- go: 1.3
|
||||||
- go: 1.4
|
- go: 1.4
|
||||||
- go: 1.5
|
- go: 1.5
|
||||||
- go: 1.6
|
- go: 1.6
|
||||||
- go: tip
|
- go: tip
|
||||||
|
allow_failures:
|
||||||
install:
|
- go: tip
|
||||||
- go get golang.org/x/tools/cmd/vet
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go get -t -v ./...
|
- go get -t -v ./...
|
||||||
- diff -u <(echo -n) <(gofmt -d .)
|
- diff -u <(echo -n) <(gofmt -d .)
|
||||||
- go vet .
|
- go vet $(go list ./... | grep -v /vendor/)
|
||||||
- go test -v -race ./...
|
- go test -v -race ./...
|
||||||
|
|
Loading…
Reference in New Issue