travis: fix swallowing of exit codes in golint loop

This commit is contained in:
Leo Balduf 2016-09-07 13:47:51 -04:00
parent 6b376e3522
commit 51529da29d

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: