CI with travis

This commit is contained in:
matcornic 2017-03-28 18:50:07 +02:00
parent fc04e7ea13
commit 3eb0584a3c
2 changed files with 32 additions and 0 deletions

15
.travis.yml Normal file
View File

@ -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 ./...

17
gometalinter.json Normal file
View File

@ -0,0 +1,17 @@
{
"DisableAll": true,
"Enable": [
"unused",
"vet",
"vetshadow",
"deadcode",
"gofmt",
"golint",
"ineffassign",
"goconst",
"gosimple",
"staticcheck",
"misspell"
],
"Test": true
}