@@ -50,14 +50,12 @@ task:
50
50
- cd script/tool
51
51
- CIRRUS_BUILD_ID=null pub run test
52
52
- name : publishable
53
- script :
54
- - ./script/tool_runner.sh version-check
55
- - ./script/tool_runner.sh publish-check
53
+ version_check_script : ./script/tool_runner.sh version-check
54
+ publish_check_script : ./script/tool_runner.sh publish-check
56
55
- name : format
57
56
format_script : ./script/tool_runner.sh format --fail-on-change
58
57
pubspec_script : ./script/tool_runner.sh pubspec-check
59
- license_script :
60
- - dart $PLUGIN_TOOL license-check
58
+ license_script : dart $PLUGIN_TOOL license-check
61
59
- name : test
62
60
env :
63
61
matrix :
@@ -139,27 +137,32 @@ task:
139
137
CHANNEL : " stable"
140
138
MAPS_API_KEY : ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
141
139
GCLOUD_FIREBASE_TESTLAB_KEY : ENCRYPTED[07586610af1fdfc894e5969f70ef2458341b9b7e9c3b7c4225a663b4a48732b7208a4d91c3b7d45305a6b55fa2a37fc4]
142
- script :
140
+ build_script :
143
141
# Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they
144
142
# might include non-ASCII characters which makes Gradle crash.
145
- # See: https://github.com/flutter/flutter/issues/24935
146
- # This is a temporary workaround until we figure how to properly configure
147
- # a UTF8 locale on Cirrus (or until the Gradle bug is fixed).
148
- # TODO(amirh): Set the locale to UTF8.
149
- - echo "$CIRRUS_CHANGE_MESSAGE" > /tmp/cirrus_change_message.txt
150
- - echo "$CIRRUS_COMMIT_MESSAGE" > /tmp/cirrus_commit_message.txt
143
+ # TODO(stuartmorgan): See https://github.com/flutter/flutter/issues/24935
151
144
- export CIRRUS_CHANGE_MESSAGE=""
152
145
- export CIRRUS_COMMIT_MESSAGE=""
153
146
- ./script/tool_runner.sh build-examples --apk
147
+ java_test_script :
148
+ # Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they
149
+ # might include non-ASCII characters which makes Gradle crash.
150
+ # TODO(stuartmorgan): See https://github.com/flutter/flutter/issues/24935
151
+ - export CIRRUS_CHANGE_MESSAGE=""
152
+ - export CIRRUS_COMMIT_MESSAGE=""
154
153
- ./script/tool_runner.sh java-test # must come after apk build
154
+ firebase_test_lab_script :
155
+ # Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they
156
+ # might include non-ASCII characters which makes Gradle crash.
157
+ # TODO(stuartmorgan): See https://github.com/flutter/flutter/issues/24935
158
+ - export CIRRUS_CHANGE_MESSAGE=""
159
+ - export CIRRUS_COMMIT_MESSAGE=""
155
160
- if [[ -n "$GCLOUD_FIREBASE_TESTLAB_KEY" ]]; then
156
161
- echo $GCLOUD_FIREBASE_TESTLAB_KEY > ${HOME}/gcloud-service-key.json
157
162
- ./script/tool_runner.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
158
163
- else
159
164
- echo "This user does not have permission to run Firebase Test Lab tests."
160
165
- fi
161
- - export CIRRUS_CHANGE_MESSAGE=`cat /tmp/cirrus_change_message.txt`
162
- - export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt`
163
166
# ## Web tasks ###
164
167
- name : build-web+drive-examples
165
168
env :
0 commit comments