mirror of
https://github.com/rtr7/router7.git
synced 2024-05-06 15:54:52 +00:00
travis: switch to go vet
This commit is contained in:
@ -18,7 +18,7 @@ script:
|
||||
# Check whether files were not gofmt'ed.
|
||||
- "gosrc=$(find . -name '*.go' | tr '\\n' ' '); [ $(gofmt -l $gosrc 2>&- | wc -l) -eq 0 ] || (echo 'gofmt was not run on these files:'; gofmt -l $gosrc 2>&-; false)"
|
||||
# TODO: remove the || true suffix once vet errors are fixed
|
||||
- go tool vet . || true
|
||||
- go vet . || true
|
||||
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||
- sudo ip -6 address replace ::1/128 dev lo
|
||||
- go build ./cmd/...
|
||||
|
Reference in New Issue
Block a user