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

Commit 693b1bf

Browse files
committed
FLUTTER_TEMPLATE
1 parent ac73cd0 commit 693b1bf

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.cirrus.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
flutter_template: &FLUTTER_TEMPLATE
1+
flutter_master_template: &FLUTTER_MASTER_TEMPLATE
2+
environment:
3+
CHANNEL: "master"
24
upgrade_script:
35
- which flutter
46
- flutter channel $CHANNEL
@@ -11,15 +13,20 @@ flutter_template: &FLUTTER_TEMPLATE
1113
- pub global activate flutter_plugin_tools
1214
- date
1315

14-
flutter_master_template: &FLUTTER_MASTER_TEMPLATE
15-
<< : *FLUTTER_TEMPLATE
16-
environment:
17-
CHANNEL: "master"
18-
1916
flutter_stable_template: &FLUTTER_STABLE_TEMPLATE
20-
<< : *FLUTTER_TEMPLATE
2117
environment:
2218
CHANNEL: "stable"
19+
upgrade_script:
20+
- which flutter
21+
- flutter channel $CHANNEL
22+
- date
23+
- flutter upgrade
24+
- git fetch origin master
25+
- date
26+
activate_script:
27+
- date
28+
- pub global activate flutter_plugin_tools
29+
- date
2330

2431
flutter_stable_skip_web_template: &FLUTTER_STABLE_SKIP_WEB_TEMPLATE
2532
<< : *FLUTTER_STABLE_TEMPLATE
@@ -98,6 +105,7 @@ task:
98105
- ./script/build_all_plugins_app.sh apk
99106
- date
100107
depends_on:
108+
- analyze
101109
- publishable
102110
- name: build-apks+java-test+firebase-test-lab
103111
environment:
@@ -134,6 +142,7 @@ task:
134142
- export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt`
135143
- date
136144
depends_on:
145+
- analyze
137146
- publishable
138147

139148
task:
@@ -181,4 +190,5 @@ task:
181190
- ./script/incremental_build.sh drive-examples
182191
- date
183192
depends_on:
193+
- analyze
184194
- publishable

0 commit comments

Comments
 (0)