Skip to content

Commit

Permalink
Replace megacheck with staticcheck tool megacheck tool is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Petya Koleva committed Dec 3, 2019
1 parent 8b9c16b commit db50efe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Expand Up @@ -9,15 +9,14 @@ install:
- go get github.com/stretchr/testify/assert
- go get github.com/gordonklaus/ineffassign
- go get github.com/fzipp/gocyclo
- go get honnef.co/go/tools/cmd/megacheck
- go get honnef.co/go/tools/cmd/staticcheck

script:
- test -z "$(gofmt -s -l . 2>&1 | grep -v vendor | tee /dev/stderr)"
- go vet ./ ./conflate ./example
- ineffassign ./ ./conflate ./example
- gocyclo -over 15 ./*.go
- megacheck -simple.exit-non-zero=true -staticcheck.exit-non-zero=true -unused.exit-non-zero=true ./ ./conflate ./example
- megacheck -tests=false -simple.enabled=false -staticcheck.enabled=false -unused.exit-non-zero=true ./ ./conflate ./example
- staticcheck --unused.whole-program -show-ignored -fail . ./conflate ./example/
- go test -coverprofile .coverprofile
- $GOPATH/bin/goveralls -v -coverprofile .coverprofile -service=travis-ci

Expand Down

0 comments on commit db50efe

Please sign in to comment.