Disable neo4j for travis

This commit is contained in:
Anatoliy Chakkaev 2012-01-30 23:45:06 +04:00
parent 9faccf8638
commit 4442b42ace
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
}, },
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "EXCEPT=sequelize nodeunit test/*_test*" "test": "EXCEPT=sequelize,neo4j nodeunit test/*_test*"
}, },
"engines": [ "engines": [
"node >= 0.4.0" "node >= 0.4.0"

View File

@ -33,7 +33,7 @@ var specificTest = getSpecificTests();
Object.keys(schemas).forEach(function (schemaName) { Object.keys(schemas).forEach(function (schemaName) {
if (process.env.ONLY && process.env.ONLY !== schemaName) return; if (process.env.ONLY && process.env.ONLY !== schemaName) return;
if (process.env.EXCEPT && process.env.EXCEPT === schemaName) return; if (process.env.EXCEPT && ~process.env.EXCEPT.indexOf(schemaName)) return;
context(schemaName, function () { context(schemaName, function () {
var schema = new Schema(schemaName, schemas[schemaName]); var schema = new Schema(schemaName, schemas[schemaName]);
// schema.log = console.log; // schema.log = console.log;