travis: fix swallowing of exit codes in golint loop
This commit is contained in:
parent
6b376e3522
commit
51529da29d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue