build: fix travis build

pull/1823/head
Qingping Hou 8 years ago
parent 1519a48a60
commit 1f082d7f5c

@ -71,7 +71,7 @@ script:
- make all - make all
- travis_retry make testfront - travis_retry make testfront
- luajit $(which luacheck) --no-color -q frontend | tee ./luacheck.out - luajit $(which luacheck) --no-color -q frontend | tee ./luacheck.out
- test $(grep Total ./luacheck.out | awk '{print $2}') -le 65 - test $(grep Total ./luacheck.out | awk '{print $2}') -le 63
after_success: after_success:
- make coverage - make coverage

@ -2,7 +2,7 @@ local Generic = require("device/generic/device")
local DEBUG = require("dbg") local DEBUG = require("dbg")
local function yes() return true end local function yes() return true end
local function no() return false end local function no() return false end -- luacheck: ignore
local Kindle = Generic:new{ local Kindle = Generic:new{
model = "Kindle", model = "Kindle",

@ -567,8 +567,8 @@ end
function UIManager:initLooper() function UIManager:initLooper()
if DUSE_TURBO_LIB and not self.looper then if DUSE_TURBO_LIB and not self.looper then
TURBO_SSL = true TURBO_SSL = true -- luacheck: ignore
__TURBO_USE_LUASOCKET__ = true __TURBO_USE_LUASOCKET__ = true -- luacheck: ignore
local turbo = require("turbo") local turbo = require("turbo")
self.looper = turbo.ioloop.instance() self.looper = turbo.ioloop.instance()
end end

Loading…
Cancel
Save