21 lines
341 B
YAML
21 lines
341 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.4
|
|
- 1.5
|
|
- tip
|
|
|
|
before_install:
|
|
# lint
|
|
- go get github.com/golang/lint/golint
|
|
|
|
# code complexity
|
|
- go get github.com/on99/gocyclo
|
|
|
|
# test
|
|
- go get github.com/smartystreets/goconvey/convey
|
|
|
|
script:
|
|
- golint ./...
|
|
- go vet ./...
|
|
- gocyclo -skip-godeps=true -top 10 -over 10 . # over 10 is bad code
|