Skip to content

Commit e225eb5

Browse files
committed
add staticcheck to build
1 parent 146267e commit e225eb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
language: go
22
go:
33
- 1.17.x
4+
before_install:
5+
- go install honnef.co/go/tools/cmd/staticcheck@latest
46
script:
57
- go vet github.com/snabble/go-logging/...
68
- go test --cover github.com/snabble/go-logging/...
9+
- staticcheck ./...
710

811
notifications:
912
email: false

0 commit comments

Comments
 (0)