Skip to content

Commit d054fa9

Browse files
Enable CI tests on beta (flutter#3538)
1 parent b3369c3 commit d054fa9

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.cirrus.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ task:
1111
upgrade_script:
1212
- flutter channel stable
1313
- flutter upgrade
14+
- flutter channel beta
15+
- flutter upgrade
1416
- flutter channel master
1517
- flutter upgrade
1618
- git fetch origin master
@@ -33,6 +35,7 @@ task:
3335
env:
3436
matrix:
3537
CHANNEL: "master"
38+
CHANNEL: "beta"
3639
CHANNEL: "stable"
3740
test_script:
3841
# TODO(jackson): Allow web plugins once supported on stable
@@ -44,12 +47,14 @@ task:
4447
env:
4548
matrix:
4649
CHANNEL: "master"
50+
CHANNEL: "beta"
4751
CHANNEL: "stable"
4852
script: ./script/incremental_build.sh analyze
4953
- name: build_all_plugins_apk
5054
env:
5155
matrix:
5256
CHANNEL: "master"
57+
CHANNEL: "beta"
5358
CHANNEL: "stable"
5459
script:
5560
# TODO(jackson): Allow web plugins once supported on stable
@@ -79,6 +84,7 @@ task:
7984
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
8085
matrix:
8186
CHANNEL: "master"
87+
CHANNEL: "beta"
8288
CHANNEL: "stable"
8389
MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
8490
GCLOUD_FIREBASE_TESTLAB_KEY: ENCRYPTED[07586610af1fdfc894e5969f70ef2458341b9b7e9c3b7c4225a663b4a48732b7208a4d91c3b7d45305a6b55fa2a37fc4]
@@ -121,6 +127,8 @@ task:
121127
upgrade_script:
122128
- flutter channel stable
123129
- flutter upgrade
130+
- flutter channel beta
131+
- flutter upgrade
124132
- flutter channel master
125133
- flutter upgrade
126134
- git fetch origin master
@@ -148,6 +156,8 @@ task:
148156
- sudo gem install cocoapods
149157
- flutter channel stable
150158
- flutter upgrade
159+
- flutter channel beta
160+
- flutter upgrade
151161
- flutter channel master
152162
- flutter upgrade
153163
- git fetch origin master
@@ -162,6 +172,7 @@ task:
162172
env:
163173
matrix:
164174
CHANNEL: "master"
175+
CHANNEL: "beta"
165176
CHANNEL: "stable"
166177
script:
167178
# TODO(jackson): Allow web plugins once supported on stable
@@ -180,6 +191,7 @@ task:
180191
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
181192
matrix:
182193
CHANNEL: "master"
194+
CHANNEL: "beta"
183195
CHANNEL: "stable"
184196
SIMCTL_CHILD_MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
185197
build_script:

script/build_all_plugins_app.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ readonly EXCLUDED_PLUGINS_LIST=(
5454
readonly EXCLUDED=$(IFS=, ; echo "${EXCLUDED_PLUGINS_LIST[*]}")
5555

5656
ALL_EXCLUDED=($EXCLUDED)
57-
# Exclude nnbd plugins from stable.
57+
# Exclude nnbd plugins from stable, and conflicting plugins otherwise.
5858
if [ "$CHANNEL" == "stable" ]; then
5959
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_STABLE")
60-
fi
61-
# Exclude non-nnbd plugins from master.
62-
if [ "$CHANNEL" != "stable" ]; then
63-
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_MASTER")
60+
else
61+
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FOR_NNBD")
6462
fi
6563

6664
echo "Excluding the following plugins: $ALL_EXCLUDED"

script/nnbd_plugins.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ readonly NON_NNBD_PLUGINS_LIST=(
4848
)
4949

5050
export EXCLUDED_PLUGINS_FROM_STABLE=$(IFS=, ; echo "${NNBD_PLUGINS_LIST[*]}")
51-
export EXCLUDED_PLUGINS_FROM_MASTER=$(IFS=, ; echo "${NON_NNBD_PLUGINS_LIST[*]}")
51+
export EXCLUDED_PLUGINS_FOR_NNBD=$(IFS=, ; echo "${NON_NNBD_PLUGINS_LIST[*]}")

0 commit comments

Comments
 (0)