diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-15 22:47:54 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-15 23:13:05 +0900 |
commit | 2dddaeffb8bfe9087a77636961b1e701f4236a7c (patch) | |
tree | acfe7ea4f6e296885ea48fa6ab7a68f46a412ca7 | |
parent | 792391358237b786c273b07ea43bc983c684993e (diff) |
travis: fix go vet
The error message of 'go vet' goes to stderr so the length of the
stdout is zero. Always the test passes successfully.
'go vet' exits with non zero when something wrong happens.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 8b190220..824e1117 100644 --- a/.travis.yml +++ b/.travis.yml @@ -112,7 +112,7 @@ matrix: before_script: go get -u honnef.co/go/tools/cmd/megacheck script: - test -z "$(go fmt $(go list ./... | grep -v '/vendor/'))" - - test -z "$(go vet $(go list ./... | grep -v '/vendor/'))" + - go vet $(go list ./... | grep -v '/vendor/') - megacheck $(go list ./... | grep -v '/vendor/') - <<: *_dep_ensure env: |