build/doc/CI: remove/update quickbuild references #11258

This commit is contained in:
Justin M. Keyes
2019-10-19 18:04:08 -07:00
committed by GitHub
parent 06a6828f01
commit 019c8d13dd
8 changed files with 27 additions and 35 deletions

View File

@@ -715,13 +715,11 @@ end
function module.isCI(name)
local any = (name == nil)
assert(any or name == 'appveyor' or name == 'quickbuild' or name == 'travis'
or name == 'sourcehut')
assert(any or name == 'appveyor' or name == 'travis' or name == 'sourcehut')
local av = ((any or name == 'appveyor') and nil ~= os.getenv('APPVEYOR'))
local tr = ((any or name == 'travis') and nil ~= os.getenv('TRAVIS'))
local qb = ((any or name == 'quickbuild') and nil ~= lfs.attributes('/usr/home/quickbuild'))
local sh = ((any or name == 'sourcehut') and nil ~= os.getenv('SOURCEHUT'))
return tr or av or qb or sh
return tr or av or sh
end