Add Travis CI and LuaCheck
This commit is contained in:
parent
29fe3ac467
commit
c7d23ba565
|
@ -0,0 +1,15 @@
|
|||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_line_length = 999
|
||||
|
||||
globals = {
|
||||
"minercantile",
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
string = {fields = {"split", "trim"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
"minetest", "ItemStack",
|
||||
"default", "unified_inventory",
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
language: generic
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- luarocks
|
||||
before_install:
|
||||
- luarocks install --local luacheck
|
||||
script:
|
||||
- $HOME/.luarocks/bin/luacheck .
|
||||
notifications:
|
||||
email: false
|
Loading…
Reference in New Issue