mirror of https://github.com/mum4k/termdash.git
Adding golint to Travis.
This commit is contained in:
parent
2ab7083a53
commit
b26a531747
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue