From a97608de26d71b7f8465ca3f931de41520e6e3ae Mon Sep 17 00:00:00 2001 From: liyuqian Date: Fri, 11 Oct 2019 17:28:24 -0700 Subject: [PATCH] Analyze framework Dart code in presubmit tests (flutter/engine#13037) This fixes https://github.com/flutter/flutter/issues/38848 --- engine/src/flutter/.cirrus.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/src/flutter/.cirrus.yml b/engine/src/flutter/.cirrus.yml index 72750d2a70..26b5294edd 100644 --- a/engine/src/flutter/.cirrus.yml +++ b/engine/src/flutter/.cirrus.yml @@ -54,6 +54,12 @@ task: cd $FRAMEWORK_PATH/flutter/dev/integration_tests/web ../../../bin/flutter config --local-engine=host_debug_unopt --no-analytics --enable-web ../../../bin/flutter --local-engine=host_debug_unopt build web -v + analyze_framework_script: | + cd $FRAMEWORK_PATH/flutter + rm -rf bin/cache/pkg/sky_engine + cp -r $ENGINE_PATH/src/out/host_debug_unopt/gen/dart-pkg/sky_engine bin/cache/pkg/ + bin/flutter update-packages --local-engine=host_debug_unopt + bin/flutter analyze --dartdocs --flutter-repo --local-engine=host_debug_unopt test_framework_script: | cd $FRAMEWORK_PATH/flutter/packages/flutter ../../bin/flutter test --local-engine=host_debug_unopt