mirror of
https://github.com/sony/sonyflake.git
synced 2026-11-15 23:36:30 +00:00
Check if passing golint
This commit is contained in:
1 parent
bd04110880
commit
152b0c3130
1 file changed
+2
@@ -4,9 +4,11 @@ go:
|
|||||||
- 1.5
|
- 1.5
|
||||||
sudo: false
|
sudo: false
|
||||||
before_install:
|
before_install:
|
||||||
|
- go get -u github.com/golang/lint/golint
|
||||||
- go get github.com/axw/gocov/gocov
|
- go get github.com/axw/gocov/gocov
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
script:
|
script:
|
||||||
- test -z "`gofmt -l .`"
|
- test -z "`gofmt -l .`"
|
||||||
|
- test -z "`golint ./...`"
|
||||||
- $GOPATH/bin/goveralls -service=travis-ci
|
- $GOPATH/bin/goveralls -service=travis-ci
|
||||||
- cd example && ./linux64_build.sh
|
- cd example && ./linux64_build.sh
|
||||||
Reference in new issue
Block a user