Merge pull request #11413 from Snuffleupagus/gulp-npm-test

Re-factor the `npm test` command, used by Travis, to avoid running the 'default_preferences' tasks concurrently (issue 10732)
This commit is contained in:
Tim van der Meij 2019-12-18 22:39:48 +01:00 committed by GitHub
commit cf3f342373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1502,3 +1502,6 @@ gulp.task('externaltest', function (done) {
{ stdio: 'inherit', });
done();
});
gulp.task('npm-test', gulp.series(gulp.parallel('lint', 'externaltest'),
'unittestcli'));

View File

@ -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",