summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-15 22:47:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-15 23:13:05 +0900
commit2dddaeffb8bfe9087a77636961b1e701f4236a7c (patch)
treeacfe7ea4f6e296885ea48fa6ab7a68f46a412ca7
parent792391358237b786c273b07ea43bc983c684993e (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.yml2
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: