ci(dart): Uncomment dart.dev build and make it required
Workaround for https://github.com/dart-lang/dartdoc/issues/1099: remove the `--input=.` parameter to `dartdoc`. Closes #6823, #6410 Closes #6958
This commit is contained in:
parent
ee3c580e88
commit
f72f137261
|
@ -39,8 +39,7 @@ env:
|
|||
matrix:
|
||||
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
|
||||
- MODE=dart DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
|
||||
# Disable dart dev build, which is timing out after 2h. #6823
|
||||
# - MODE=dart DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
- MODE=dart DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
- MODE=saucelabs_required DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
- MODE=browserstack_required DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
- MODE=saucelabs_optional DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
|
@ -57,8 +56,6 @@ matrix:
|
|||
allow_failures:
|
||||
- env: "MODE=saucelabs_optional DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"
|
||||
- env: "MODE=browserstack_optional DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"
|
||||
# TODO(alxhub): remove when dartdoc #1039 is in dev channel
|
||||
- env: "MODE=dart DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"
|
||||
# Tracked in https://github.com/angular/angular/issues/7050
|
||||
- env: "MODE=typescript_next DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION"
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ module.exports = function(gulp, plugins, config) {
|
|||
} else {
|
||||
console.log('INFO: running dartdoc for ', dir);
|
||||
|
||||
var stream = spawn(config.command, ['--input=.', '--output=' + config.output],
|
||||
var stream = spawn(config.command, ['--output=' + config.output],
|
||||
{stdio: [process.stdin, process.stdout, process.stderr], cwd: dir});
|
||||
|
||||
stream.on('exit', function(code) {
|
||||
|
|
Loading…
Reference in New Issue