mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 13:30:33 +00:00
avoid sqlite db on travis and appveyor
This commit is contained in:
@@ -112,7 +112,8 @@ proc writeTestResult*(name, category, target,
|
||||
thisCommit, thisMachine)
|
||||
|
||||
proc open*() =
|
||||
db = open(connection="testament.db", user="testament", password="",
|
||||
let dbFile = if existsEnv("TRAVIS") or existsEnv("APPVEYOR"): ":memory:" else: "testament.db"
|
||||
db = open(connection=dbFile, user="testament", password="",
|
||||
database="testament")
|
||||
createDb()
|
||||
thisMachine = getMachine(db)
|
||||
|
||||
Reference in New Issue
Block a user