diff --git a/.cirrus.yml b/.cirrus.yml index 5afb5b22b8f2..0caa1a226807 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -12,38 +12,25 @@ task: matrix: - name: publishable script: ./script/check_publish.sh - - name: format + - name: test+format 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 format_script: ./script/incremental_build.sh format --travis --clang-format=clang-format-7 - - name: test - env: - matrix: - CHANNEL: "master" - CHANNEL: "stable" - test_script: - - flutter channel $CHANNEL - - ./script/incremental_build.sh test + test_script: ./script/incremental_build.sh test - name: analyze script: ./script/incremental_build.sh analyze - name: build_all_plugins_apk - # TODO(jackson): This is timing out on stable but should be run on stable once it passes. - # https://github.com/flutter/flutter/issues/42810 script: ./script/build_all_plugins_app.sh apk - name: build-apks+java-test+drive-examples env: matrix: PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2" PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2" - matrix: - CHANNEL: "master" - CHANNEL: "stable" MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550] script: - - flutter channel $CHANNEL # Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they # might include non-ASCII characters which makes Gradle crash. # See: https://github.com/flutter/flutter/issues/24935 @@ -75,8 +62,6 @@ task: - xcrun simctl list - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-2 | xargs xcrun simctl boot matrix: - # TODO(jackson): This is timing out on stable but should be run on stable once it passes. - # https://github.com/flutter/flutter/issues/42810 - name: build_all_plugins_ipa script: ./script/build_all_plugins_app.sh ios --no-codesign - name: lint_darwin_plugins @@ -89,11 +74,7 @@ task: PLUGIN_SHARDING: "--shardIndex 1 --shardCount 4" PLUGIN_SHARDING: "--shardIndex 2 --shardCount 4" PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4" - matrix: - CHANNEL: "master" - CHANNEL: "stable" SIMCTL_CHILD_MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550] build_script: - - flutter channel $CHANNEL - ./script/incremental_build.sh build-examples --ipa - ./script/incremental_build.sh drive-examples