add luacheck to lint lua files (#2205)

This commit is contained in:
halfcrazy 2018-03-19 00:31:49 +08:00 committed by Manuel Alejandro de Brito Fontes
parent 5c02d700cb
commit 977cfcb4c7
4 changed files with 19 additions and 5 deletions

View file

@ -7,6 +7,11 @@ services:
language: go
addons:
apt:
packages:
- luarocks
notifications:
email:
on_failure: always
@ -32,6 +37,8 @@ jobs:
include:
- stage: Static Check
script:
- sudo luarocks install luacheck
- make luacheck
- go get github.com/golang/lint/golint
- make verify-all
- stage: Coverage