avoid sqlite db on travis and appveyor
This commit is contained in:
parent
75f648398a
commit
c2940260e5
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue