Ensured failed tests trigger travis fails.

Former-commit-id: d513b5b1bae77ab1f4aa9e98ec3622e143048def
This commit is contained in:
John-David Dalton
2012-09-29 19:31:05 -07:00
parent d2f7a035b3
commit 65ab5fdb34
2 changed files with 2 additions and 2 deletions

View File

@@ -47,6 +47,6 @@
},
"scripts": {
"build": "node build",
"test": "node test/test;node test/test-build"
"test": "node test/test && node test/test-build"
}
}

View File

@@ -171,7 +171,7 @@
// exit out of Node.js
try {
process.exit();
process.exit(details.failed);
} catch(e) { }
}