Merge pull request #690 from aluzzardi/lint-tests

travis: Lint test files (ensure they are not space indented)
This commit is contained in:
Victor Vieux 2015-04-30 22:32:48 -07:00
commit a6ad9a073a
3 changed files with 39 additions and 37 deletions

View File

@ -24,6 +24,8 @@ script:
- script/validate-gofmt
- go vet ./...
- fgt golint ./...
# Lint our test files and make sure they are not space indented.
- fgt find test -type f -exec grep -Hn -e "^ " {} \;
- go test -v -race ./...
- script/coverage
- goveralls -service=travis-ci -coverprofile=goverage.report