From 4f2b9a4c283225e4a1e85eea3e95bc4cbc1349b5 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 12 May 2015 14:10:53 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20fail=20travis=20on=20failed=20?= =?UTF-8?q?=E2=80=98test.unit.cjs/ci=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/traceur-jasmine/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/traceur-jasmine/index.js b/tools/traceur-jasmine/index.js index 208a28e74b..628da4f95e 100644 --- a/tools/traceur-jasmine/index.js +++ b/tools/traceur-jasmine/index.js @@ -12,6 +12,9 @@ glob(process.argv[2], function (error, specFiles) { includeStackTrace: true, defaultTimeoutInterval: 1000, showColors: process.argv.indexOf('--no-color') === -1, - specs: specFiles + specs: specFiles, + onComplete: function(passed) { + process.exit(passed ? 0 : 1); + } }); });