12
12
memory : 16G
13
13
environment :
14
14
PATH : $PATH:$HOME/.pub-cache/bin
15
- CHANNEL : " stable " # Default to flutter stable , tests can override.
15
+ CHANNEL : " master " # Default to flutter master , tests can override.
16
16
pub_cache :
17
17
folder : $HOME/.pub-cache
18
18
fingerprint_script : echo $OS; grep -r --include=pubspec.yaml '\:.*[0-9]\+\.' . | grep -v 'version\|flutter\|sdk'| xargs
@@ -29,16 +29,17 @@ task:
29
29
activate_script : pub global activate flutter_plugin_tools
30
30
matrix :
31
31
- name : publishable
32
+ environment :
33
+ CHANNEL : " stable"
32
34
script :
33
35
- ./script/check_publish.sh
34
36
- name : format
35
- environment :
36
- CHANNEL : " master"
37
37
install_script :
38
38
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
39
39
- sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
40
40
- sudo apt-get update
41
41
- sudo apt-get install -y --allow-unauthenticated clang-format-7
42
+ - dpkg -L clang-format-7
42
43
format_script : ./script/incremental_build.sh format --travis --clang-format=clang-format-7
43
44
- name : test
44
45
<< : *FLUTTER_SKIP_WEB_TEMPLATE
@@ -48,11 +49,15 @@ task:
48
49
CHANNEL : " stable"
49
50
test_script :
50
51
- ./script/incremental_build.sh test
52
+ depends_on :
53
+ - format
54
+ - publishable
51
55
- name : analyze
52
- environment :
53
- CHANNEL : " master"
54
56
script :
55
57
- ./script/incremental_build.sh analyze
58
+ depends_on :
59
+ - format
60
+ - publishable
56
61
- name : build_all_plugins_apk
57
62
<< : *FLUTTER_SKIP_WEB_TEMPLATE
58
63
script :
@@ -103,7 +108,7 @@ task:
103
108
environment :
104
109
COCOAPODS_DISABLE_STATS : true
105
110
PATH : $PATH:/usr/local/bin:$HOME/.pub-cache/bin
106
- CHANNEL : " stable " # Default to flutter stable , tests can override.
111
+ CHANNEL : " master " # Default to flutter master , tests can override.
107
112
pub_cache :
108
113
folder : $HOME/.pub-cache
109
114
fingerprint_script : echo $OS; echo $CHANNEL; grep -r --include=pubspec.yaml '\:.*[0-9]\+\.' . | grep -v 'version\|flutter\|sdk'| xargs
@@ -119,20 +124,20 @@ task:
119
124
- flutter upgrade
120
125
- git fetch origin master
121
126
activate_script : pub global activate flutter_plugin_tools
127
+ << : *FLUTTER_SKIP_WEB_TEMPLATE
122
128
create_simulator_script :
123
129
- xcrun simctl list
124
130
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-2 | xargs xcrun simctl boot
125
131
matrix :
126
132
- name : build_all_plugins_ipa
127
- << : *FLUTTER_SKIP_WEB_TEMPLATE
128
133
script :
129
134
- ./script/build_all_plugins_app.sh ios --no-codesign
130
135
- name : lint_darwin_plugins
131
- << : *FLUTTER_SKIP_WEB_TEMPLATE
136
+ environment :
137
+ CHANNEL : " stable"
132
138
script :
133
139
- ./script/lint_darwin_plugins.sh
134
140
- name : build-ipas+drive-examples
135
- << : *FLUTTER_SKIP_WEB_TEMPLATE
136
141
environment :
137
142
matrix :
138
143
PLUGIN_SHARDING : " --shardIndex 0 --shardCount 4"
0 commit comments