Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[ci] Disable analyze on stable for web plugins that contains null safety integration tests. #3681

Merged
merged 15 commits into from
Mar 6, 2021
12 changes: 10 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created this issue: flutter/flutter#77429

## 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
Expand All @@ -67,7 +76,6 @@ task:
env:
matrix:
CHANNEL: "master"
CHANNEL: "stable"
build_script:
- flutter channel $CHANNEL
- ./script/incremental_build.sh build-examples --web
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down