Merge pull request #218 from mrd0ll4r/travis-golint-fix

travis: fix swallowing of exit codes in golint loop
This commit is contained in:
Jimmy Zelinskie 2016-09-07 19:56:39 -04:00 committed by GitHub
commit 578697b136

View file

@ -10,7 +10,7 @@ script:
- go test -v $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
- for d in $(go list ./... | grep -v /vendor/); do diff <(golint $d) <(printf ""); done
- (for d in $(go list ./... | grep -v /vendor/); do diff <(golint $d) <(printf "") || exit 1; done)
notifications:
irc:
channels: