1212 memory : 16G
1313 environment :
1414 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.
1616 pub_cache :
1717 folder : $HOME/.pub-cache
1818 fingerprint_script : echo $OS; grep -r --include=pubspec.yaml '\:.*[0-9]\+\.' . | grep -v 'version\|flutter\|sdk'| xargs
@@ -29,16 +29,17 @@ task:
2929 activate_script : pub global activate flutter_plugin_tools
3030 matrix :
3131 - name : publishable
32+ environment :
33+ CHANNEL : " stable"
3234 script :
3335 - ./script/check_publish.sh
3436 - name : format
35- environment :
36- CHANNEL : " master"
3737 install_script :
3838 - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
3939 - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
4040 - sudo apt-get update
4141 - sudo apt-get install -y --allow-unauthenticated clang-format-7
42+ - dpkg -L clang-format-7
4243 format_script : ./script/incremental_build.sh format --travis --clang-format=clang-format-7
4344 - name : test
4445 << : *FLUTTER_SKIP_WEB_TEMPLATE
@@ -48,11 +49,15 @@ task:
4849 CHANNEL : " stable"
4950 test_script :
5051 - ./script/incremental_build.sh test
52+ depends_on :
53+ - format
54+ - publishable
5155 - name : analyze
52- environment :
53- CHANNEL : " master"
5456 script :
5557 - ./script/incremental_build.sh analyze
58+ depends_on :
59+ - format
60+ - publishable
5661 - name : build_all_plugins_apk
5762 << : *FLUTTER_SKIP_WEB_TEMPLATE
5863 script :
@@ -103,7 +108,7 @@ task:
103108 environment :
104109 COCOAPODS_DISABLE_STATS : true
105110 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.
107112 pub_cache :
108113 folder : $HOME/.pub-cache
109114 fingerprint_script : echo $OS; echo $CHANNEL; grep -r --include=pubspec.yaml '\:.*[0-9]\+\.' . | grep -v 'version\|flutter\|sdk'| xargs
@@ -119,20 +124,20 @@ task:
119124 - flutter upgrade
120125 - git fetch origin master
121126 activate_script : pub global activate flutter_plugin_tools
127+ << : *FLUTTER_SKIP_WEB_TEMPLATE
122128 create_simulator_script :
123129 - xcrun simctl list
124130 - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-2 | xargs xcrun simctl boot
125131 matrix :
126132 - name : build_all_plugins_ipa
127- << : *FLUTTER_SKIP_WEB_TEMPLATE
128133 script :
129134 - ./script/build_all_plugins_app.sh ios --no-codesign
130135 - name : lint_darwin_plugins
131- << : *FLUTTER_SKIP_WEB_TEMPLATE
136+ environment :
137+ CHANNEL : " stable"
132138 script :
133139 - ./script/lint_darwin_plugins.sh
134140 - name : build-ipas+drive-examples
135- << : *FLUTTER_SKIP_WEB_TEMPLATE
136141 environment :
137142 matrix :
138143 PLUGIN_SHARDING : " --shardIndex 0 --shardCount 4"
0 commit comments