Do less wory on AppVeyor since we're running out of time. (#18814)
This commit is contained in:
parent
73498a54bc
commit
3351423a42
@ -11,4 +11,5 @@ cache:
|
|||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
- cmd: set SHARD=tests
|
||||||
- cmd: bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
|
- cmd: bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
|
||||||
|
@ -26,10 +26,11 @@ final String cyan = hasColor ? '\x1B[36m' : '';
|
|||||||
final String reset = hasColor ? '\x1B[0m' : '';
|
final String reset = hasColor ? '\x1B[0m' : '';
|
||||||
|
|
||||||
const Map<String, ShardRunner> _kShards = const <String, ShardRunner>{
|
const Map<String, ShardRunner> _kShards = const <String, ShardRunner>{
|
||||||
'docs': _generateDocs,
|
|
||||||
'analyze': _analyzeRepo,
|
'analyze': _analyzeRepo,
|
||||||
'tests': _runTests,
|
'tests': _runTests,
|
||||||
'coverage': _runCoverage,
|
'coverage': _runCoverage,
|
||||||
|
// 'docs': handled by travis_script.sh and docs.sh
|
||||||
|
// 'build_and_deploy_gallery': handled by travis_script.sh
|
||||||
};
|
};
|
||||||
|
|
||||||
const Duration _kLongTimeout = const Duration(minutes: 45);
|
const Duration _kLongTimeout = const Duration(minutes: 45);
|
||||||
@ -66,10 +67,6 @@ Future<Null> main(List<String> args) async {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<Null> _generateDocs() async {
|
|
||||||
print('${bold}DONE: test.dart does nothing in the docs shard.$reset');
|
|
||||||
}
|
|
||||||
|
|
||||||
Future<Null> _verifyInternationalizations() async {
|
Future<Null> _verifyInternationalizations() async {
|
||||||
final EvalResult genResult = await _evalCommand(
|
final EvalResult genResult = await _evalCommand(
|
||||||
dart,
|
dart,
|
||||||
@ -238,15 +235,6 @@ Future<Null> _runTests() async {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<Null> _runCoverage() async {
|
Future<Null> _runCoverage() async {
|
||||||
if (Platform.environment['TRAVIS'] != null) {
|
|
||||||
print('${bold}DONE: test.dart does not run coverage in Travis$reset');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (Platform.isWindows) {
|
|
||||||
print('${bold}DONE: test.dart does not run coverage on Windows$reset');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
final File coverageFile = new File(path.join(flutterRoot, 'packages', 'flutter', 'coverage', 'lcov.info'));
|
final File coverageFile = new File(path.join(flutterRoot, 'packages', 'flutter', 'coverage', 'lcov.info'));
|
||||||
if (!coverageFile.existsSync()) {
|
if (!coverageFile.existsSync()) {
|
||||||
print('${red}Coverage file not found.$reset');
|
print('${red}Coverage file not found.$reset');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user