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:
commit
cf3f342373
@ -1502,3 +1502,6 @@ gulp.task('externaltest', function (done) {
|
|||||||
{ stdio: 'inherit', });
|
{ stdio: 'inherit', });
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
gulp.task('npm-test', gulp.series(gulp.parallel('lint', 'externaltest'),
|
||||||
|
'unittestcli'));
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
"yargs": "^11.1.1"
|
"yargs": "^11.1.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "env SKIP_BABEL=true gulp lint unittestcli externaltest"
|
"test": "env SKIP_BABEL=true gulp npm-test"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user