diff --git a/.cirrus.yml b/.cirrus.yml index c42802ec2feb..fb714038dfdd 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -12,7 +12,7 @@ task: memory: 16G environment: PATH: $PATH:$HOME/.pub-cache/bin - CHANNEL: "stable" # Default to flutter stable, tests can override. + CHANNEL: "master" # Default to flutter master, tests can override. pub_cache: folder: $HOME/.pub-cache fingerprint_script: echo $OS; grep -r --include=pubspec.yaml '\:.*[0-9]\+\.' . | grep -v 'version\|flutter\|sdk'| xargs @@ -29,16 +29,17 @@ task: activate_script: pub global activate flutter_plugin_tools matrix: - name: publishable + environment: + CHANNEL: "stable" script: - ./script/check_publish.sh - name: format - environment: - CHANNEL: "master" install_script: - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main" - sudo apt-get update - sudo apt-get install -y --allow-unauthenticated clang-format-7 + - dpkg -L clang-format-7 format_script: ./script/incremental_build.sh format --travis --clang-format=clang-format-7 - name: test << : *FLUTTER_SKIP_WEB_TEMPLATE @@ -48,11 +49,15 @@ task: CHANNEL: "stable" test_script: - ./script/incremental_build.sh test + depends_on: + - format + - publishable - name: analyze - environment: - CHANNEL: "master" script: - ./script/incremental_build.sh analyze + depends_on: + - format + - publishable - name: build_all_plugins_apk << : *FLUTTER_SKIP_WEB_TEMPLATE script: @@ -103,7 +108,7 @@ task: environment: COCOAPODS_DISABLE_STATS: true PATH: $PATH:/usr/local/bin:$HOME/.pub-cache/bin - CHANNEL: "stable" # Default to flutter stable, tests can override. + CHANNEL: "master" # Default to flutter master, tests can override. pub_cache: folder: $HOME/.pub-cache fingerprint_script: echo $OS; echo $CHANNEL; grep -r --include=pubspec.yaml '\:.*[0-9]\+\.' . | grep -v 'version\|flutter\|sdk'| xargs @@ -119,20 +124,20 @@ task: - flutter upgrade - git fetch origin master activate_script: pub global activate flutter_plugin_tools + << : *FLUTTER_SKIP_WEB_TEMPLATE create_simulator_script: - xcrun simctl list - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-2 | xargs xcrun simctl boot matrix: - name: build_all_plugins_ipa - << : *FLUTTER_SKIP_WEB_TEMPLATE script: - ./script/build_all_plugins_app.sh ios --no-codesign - name: lint_darwin_plugins - << : *FLUTTER_SKIP_WEB_TEMPLATE + environment: + CHANNEL: "stable" script: - ./script/lint_darwin_plugins.sh - name: build-ipas+drive-examples - << : *FLUTTER_SKIP_WEB_TEMPLATE environment: matrix: PLUGIN_SHARDING: "--shardIndex 0 --shardCount 4"