diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +8 diff --git a/.travis.yml b/.travis.yml index 53b2dae..1746481 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: node_js node_js: - - "node" + - 8 install: - "npm install" script: - - "gulp test:travis" \ No newline at end of file + - "gulp test:travis" diff --git a/gulpfile.js b/gulpfile.js index 26e2e06..8362832 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -232,8 +232,8 @@ gulp.task('test:mocha.es6', function () { function runMocha(srcPath) { return gulp.src(srcPath) - .pipe($.spawnMocha({ - ui: 'bdd', + .pipe($.spawnMocha({ + ui: 'bdd', reporter: 'spec', env: {'NODE_PATH': './.tmp/src'} })) @@ -289,5 +289,5 @@ gulp.task('release', ['default'], function (cb) { }); gulp.task('test:travis', ['build'], function (cb) { - runSequence('test:sauce', 'test:mocha', 'test:mocha.es6', cb); + runSequence('test:mocha', 'test:mocha.es6', cb); });