Commit f3f25167 authored by madengji's avatar madengji Committed by 33cn

add fmt linter

parent e6bf88ba
language: go language: go
go_import_path: github.com/33cn/plugin
sudo: false sudo: false
notifications: notifications:
email: false email: false
jobs: jobs:
include: include:
- stage: test - stage: test
go_import_path: github.com/mdj33/plugin sudo: require
install: skip install:
- go get -u golang.org/x/tools/cmd/goimports
- go get -u gopkg.in/alecthomas/gometalinter.v2
- gometalinter.v2 -i
- go get -u mvdan.cc/sh/cmd/shfmt
- go get -u mvdan.cc/sh/cmd/gosh
os: linux os: linux
dist: xenial
go: go:
- "1.9" - "1.9"
- master - master
script: script:
- make checkgofmt
- make fmt_go
- make linter
- make test - make test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment