diff --git a/.cirrus.yml b/.cirrus.yml index ea27c88b97e0..eac32d114269 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -37,13 +37,22 @@ task: test_script: - flutter channel $CHANNEL - ./script/incremental_build.sh test - - name: analyze + - name: analyze_master env: matrix: CHANNEL: "master" + script: + - flutter channel $CHANNEL + - ./script/incremental_build.sh analyze + ## TODO(cyanglaz): + ## Combing stable and master analyze jobs when integration test null safety is ready on flutter stable. + - name: analyze_stable + env: + matrix: CHANNEL: "stable" script: - flutter channel $CHANNEL + - find . -depth -type d -wholename '*_web/example' -exec rm -rf {} \; - ./script/incremental_build.sh analyze ### Android tasks ### - name: build_all_plugins_apk @@ -67,7 +76,6 @@ task: env: matrix: CHANNEL: "master" - CHANNEL: "stable" build_script: - flutter channel $CHANNEL - ./script/incremental_build.sh build-examples --web diff --git a/packages/connectivity/connectivity_macos/example/test_driver/test/integration_test.dart b/packages/connectivity/connectivity_macos/example/test_driver/test/integration_test.dart index c0cbdcab2fb6..425dac924e7c 100644 --- a/packages/connectivity/connectivity_macos/example/test_driver/test/integration_test.dart +++ b/packages/connectivity/connectivity_macos/example/test_driver/test/integration_test.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 import 'dart:convert'; import 'dart:io'; import 'package:flutter_driver/flutter_driver.dart'; diff --git a/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml b/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml index d3b428d190c9..c96ca065f081 100755 --- a/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml +++ b/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml @@ -16,10 +16,6 @@ dependencies: dev_dependencies: pedantic: ^1.10.0 - integration_test: - path: ../../../integration_test - flutter_driver: - sdk: flutter flutter: uses-material-design: true diff --git a/packages/image_picker/image_picker/example/test_driver/test/integration_test.dart b/packages/image_picker/image_picker/example/test_driver/test/integration_test.dart index 7a2c21338786..0352d4aaeb2d 100644 --- a/packages/image_picker/image_picker/example/test_driver/test/integration_test.dart +++ b/packages/image_picker/image_picker/example/test_driver/test/integration_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 import 'dart:async'; import 'dart:convert'; import 'dart:io';