Add golint
This commit is contained in:
parent
c2fc7f0a5a
commit
9996d9dfc0
@ -11,5 +11,7 @@ before_install:
|
|||||||
- sudo $TRAVIS_BUILD_DIR/.travis/prepare.sh "$FTP_SERVER"
|
- sudo $TRAVIS_BUILD_DIR/.travis/prepare.sh "$FTP_SERVER"
|
||||||
- sudo sysctl net.ipv6.conf.lo.disable_ipv6=0
|
- sudo sysctl net.ipv6.conf.lo.disable_ipv6=0
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
|
- go get github.com/golang/lint/golint
|
||||||
script:
|
script:
|
||||||
- goveralls -v
|
- goveralls -v
|
||||||
|
- golint -set_exit_status $(go list ./...)
|
||||||
|
Loading…
Reference in New Issue
Block a user