Merge pull request #218 from mrd0ll4r/travis-golint-fix
travis: fix swallowing of exit codes in golint loop
This commit is contained in:
commit
578697b136
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ script:
|
||||||
- go test -v $(go list ./... | grep -v /vendor/)
|
- go test -v $(go list ./... | grep -v /vendor/)
|
||||||
- go vet $(go list ./... | grep -v /vendor/)
|
- go vet $(go list ./... | grep -v /vendor/)
|
||||||
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
|
- 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:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
|
Loading…
Reference in a new issue