summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-01-09 12:30:21 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-01-09 14:37:21 +0900
commit8e0c05782dcc896032258bf1c7d0bb8ed5d3bc32 (patch)
tree1177fc23f581ec87408657567f2702306de71ee7
parent1d14b8ecfba61de524e0266e4a0fddb3b111f235 (diff)
use staticcheck instead of megacheck
megacheck is deprecated. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index e0e59bb0..e7592bae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -108,12 +108,12 @@ matrix:
#
- <<: *_dep_ensure
env:
- - DESCRIPTION="go fmt + vet + megacheck"
- before_script: go get -u honnef.co/go/tools/cmd/megacheck
+ - DESCRIPTION="go fmt + vet + staticcheck"
+ before_script: go get -u honnef.co/go/tools/cmd/staticcheck
script:
- test -z "$(go fmt $(go list ./... | grep -v '/vendor/'))"
- go vet $(go list ./... | grep -v '/vendor/')
- - megacheck $(go list ./... | grep -v '/vendor/')
+ - staticcheck $(go list ./... | grep -v '/vendor/')
- <<: *_dep_ensure
env:
- DESCRIPTION="build_embeded_go.py"