From 3f5a02cae2ff4ea6b000da4d801e31ead64e9fdb Mon Sep 17 00:00:00 2001 From: Todd Treece Date: Sat, 1 Aug 2015 20:04:08 -0400 Subject: [PATCH] adds travis --- .travis.yml | 9 +++++++++ gulpfile.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7d3a47b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: node_js +node_js: + - '0.12' +before_script: + - npm install -g gulp +notifications: + email: + on_success: change + on_failure: change diff --git a/gulpfile.js b/gulpfile.js index 087bad2..65bbc08 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -36,7 +36,7 @@ gulp.task('test', function() { return gulp.src('test/*.js', {read: false}) .pipe(mocha()) .once('error', function(err) { - console.error(err); + console.error(err.toString()); process.exit(1); }) .once('end', function() {