CI with travis
This commit is contained in:
parent
fc04e7ea13
commit
3eb0584a3c
|
@ -0,0 +1,15 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.6
|
||||
- 1.7
|
||||
- 1.8
|
||||
- master
|
||||
|
||||
install:
|
||||
- go get -u github.com/alecthomas/gometalinter
|
||||
- gometalinter -u -i -f
|
||||
|
||||
script:
|
||||
- go test ./...
|
||||
- gometalinter --config=./gometalinter.json ./...
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"DisableAll": true,
|
||||
"Enable": [
|
||||
"unused",
|
||||
"vet",
|
||||
"vetshadow",
|
||||
"deadcode",
|
||||
"gofmt",
|
||||
"golint",
|
||||
"ineffassign",
|
||||
"goconst",
|
||||
"gosimple",
|
||||
"staticcheck",
|
||||
"misspell"
|
||||
],
|
||||
"Test": true
|
||||
}
|
Loading…
Reference in New Issue