testament: add azure integration

This commit is contained in:
Leorize 2019-10-03 17:36:07 +02:00 • committed by narimiran
commit acebcd7899
4 changed files with 122 additions and 10 deletions

View file

@ -13,6 +13,7 @@ var compilerPrefix* = findExe("nim")
let isTravis* = existsEnv("TRAVIS")
let isAppVeyor* = existsEnv("APPVEYOR")
let isAzure* = existsEnv("TF_BUILD")
var skips*: seq[string]
@ -214,6 +215,8 @@ proc parseSpec*(filename: string): TSpec =
if isTravis: result.err = reDisabled
of "appveyor":
if isAppVeyor: result.err = reDisabled
of "azure":
if isAzure: result.err = reDisabled
of "32bit":
if sizeof(int) == 4:
result.err = reDisabled