[go: nahoru, domu]

Skip to content

Commit

Permalink
Revert "Revert "Enable testing on both master and stable (flutter#2197)…
Browse files Browse the repository at this point in the history
…""

This reverts commit 1162798.
  • Loading branch information
collinjackson committed Oct 16, 2019
1 parent 575f3e7 commit aca6f9e
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,38 @@ task:
matrix:
- name: publishable
script: ./script/check_publish.sh
- name: test+format
- name: 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
test_script: ./script/incremental_build.sh test
- name: test
env:
matrix:
CHANNEL: "master"
CHANNEL: "stable"
test_script:
- flutter channel $CHANNEL
- ./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
Expand Down Expand Up @@ -62,6 +75,8 @@ 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
Expand All @@ -74,7 +89,11 @@ 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

0 comments on commit aca6f9e

Please sign in to comment.