test: fix isCI() for Quickbuild

This commit is contained in:
Justin M. Keyes 2019-03-01 01:48:21 +01:00
parent 67535b5940
commit 403922b1b4

View File

@ -708,7 +708,7 @@ end
local function isCI()
local is_travis = nil ~= os.getenv('TRAVIS')
local is_appveyor = nil ~= os.getenv('APPVEYOR')
local is_quickbuild = nil ~= os.getenv('PR_NUMBER')
local is_quickbuild = nil ~= lfs.attributes('/usr/home/quickbuild')
return is_travis or is_appveyor or is_quickbuild
end