diff --git a/appveyor.yml b/appveyor.yml index aa0e74adb2..bba26303df 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,4 +11,5 @@ cache: build: off test_script: +- cmd: set SHARD=tests - cmd: bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 375df5565c..35989af4e3 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -26,10 +26,11 @@ final String cyan = hasColor ? '\x1B[36m' : ''; final String reset = hasColor ? '\x1B[0m' : ''; const Map _kShards = const { - 'docs': _generateDocs, 'analyze': _analyzeRepo, 'tests': _runTests, '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); @@ -66,10 +67,6 @@ Future main(List args) async { } } -Future _generateDocs() async { - print('${bold}DONE: test.dart does nothing in the docs shard.$reset'); -} - Future _verifyInternationalizations() async { final EvalResult genResult = await _evalCommand( dart, @@ -238,15 +235,6 @@ Future _runTests() async { } Future _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')); if (!coverageFile.existsSync()) { print('${red}Coverage file not found.$reset');