Update go vet command line
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
This commit is contained in:
parent
c243f4945b
commit
a63c55f46a
|
@ -12,7 +12,7 @@ script:
|
|||
- "gofmt -l $(find . -name '*.go' | tr '\\n' ' ') >/dev/null"
|
||||
# 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)"
|
||||
- go tool vet .
|
||||
- go vet .
|
||||
- go test ./...
|
||||
- go test -c github.com/google/nftables
|
||||
- sudo ./nftables.test -test.v -run_system_tests
|
||||
|
|
Loading…
Reference in New Issue