build: enforce luacheck in travis build

This commit is contained in:
Qingping Hou
2016-02-09 23:01:52 -08:00
parent b8ee33871f
commit 9bd2d42834
8 changed files with 21 additions and 19 deletions

View File

@@ -27,9 +27,10 @@ local function probeDevice()
end
-- add new ports here:
if --[[ implement a proper test instead --]] false then
return require("device/newport/device")
end
--
-- if --[[ implement a proper test instead --]] false then
-- return require("device/newport/device")
-- end
error("did not find a hardware abstraction for this platform")
end