Adding golint to Travis.

This commit is contained in:
Jakub Sobon 2019-02-18 02:05:59 -05:00
parent 2ab7083a53
commit b26a531747
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7
1 changed files with 2 additions and 0 deletions

View File

@ -6,10 +6,12 @@ go:
- stable
script:
- go get -t ./...
- go get -u golang.org/x/lint/golint
- go test ./...
- go test -race ./...
- go vet ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- diff -u <(echo -n) <(./scripts/autogen_licences.sh .)
- diff -u <(echo -n) <(golint ./...)
after_success:
- ./scripts/coverage.sh