Fix conditional loading of firebird test for travis-ci
This commit is contained in:
parent
d554372912
commit
7ef2385da9
@ -14,12 +14,6 @@ try {
|
|||||||
var Firebird = require(adapterName);
|
var Firebird = require(adapterName);
|
||||||
var conn = null;
|
var conn = null;
|
||||||
var qb = null;
|
var qb = null;
|
||||||
} catch (e) {
|
|
||||||
// Export an empty testBase.testsuite if module not loaded
|
|
||||||
console.log(e);
|
|
||||||
console.log("Database adapter firebird not found");
|
|
||||||
module.exports = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
// Setup testbase from the inside out
|
// Setup testbase from the inside out
|
||||||
// Because the connection is async, utilize
|
// Because the connection is async, utilize
|
||||||
@ -81,3 +75,10 @@ testBase.tests["firebird adapter with query builder"] = function(test) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module.exports = testBase.tests;
|
module.exports = testBase.tests;
|
||||||
|
|
||||||
|
} catch (e) {
|
||||||
|
// Export an empty testBase.testsuite if module not loaded
|
||||||
|
console.log(e);
|
||||||
|
console.log("Database adapter firebird not found");
|
||||||
|
module.exports = {};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user