Skip to content

Commit

Permalink
Merge pull request #11413 from Snuffleupagus/gulp-npm-test
Browse files Browse the repository at this point in the history
Re-factor the `npm test` command, used by Travis, to avoid running the 'default_preferences' tasks concurrently (issue 10732)
  • Loading branch information
timvandermeij committed Dec 18, 2019
2 parents 7ceb394 + f406263 commit cf3f342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1502,3 +1502,6 @@ gulp.task('externaltest', function (done) {
{ stdio: 'inherit', });
done();
});

gulp.task('npm-test', gulp.series(gulp.parallel('lint', 'externaltest'),
'unittestcli'));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"yargs": "^11.1.1"
},
"scripts": {
"test": "env SKIP_BABEL=true gulp lint unittestcli externaltest"
"test": "env SKIP_BABEL=true gulp npm-test"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit cf3f342

Please sign in to comment.