Browse Source

circle: add metalinter to test

pull/1842/head
Zach Ramsay 7 years ago
parent
commit
2681f32bdd
2 changed files with 2 additions and 4 deletions
  1. +1
    -3
      Makefile
  2. +1
    -1
      circle.yml

+ 1
- 3
Makefile View File

@ -35,6 +35,7 @@ metalinter_test: ensure_tools
--enable=gosimple \
--enable=gotype \
--enable=ineffassign \
--enable=interfacer \
--enable=megacheck \
--enable=misspell \
--enable=staticcheck \
@ -44,7 +45,6 @@ metalinter_test: ensure_tools
--enable=unused \
--enable=varcheck \
--enable=vetshadow \
--enable=interfacer \
--enable=vet \
./...
@ -53,6 +53,4 @@ metalinter_test: ensure_tools
#--enable=errcheck \
#--enable=gocyclo \
#--enable=golint \ <== comments on anything exported
#--enable=interfacer \
#--enable=unparam \
#--enable=vet \

+ 1
- 1
circle.yml View File

@ -18,4 +18,4 @@ dependencies:
test:
override:
- "go version"
- "cd $PROJECT_PATH && make get_vendor_deps && make test"
- "cd $PROJECT_PATH && make get_vendor_deps && make metalinter_test && make test"

Loading…
Cancel
Save