[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Enable testing on both master and stable #2197

Merged
merged 14 commits into from
Oct 16, 2019
Merged
Next Next commit
Test on both master and stable
  • Loading branch information
collinjackson committed Oct 15, 2019
commit 9c3ddc01e524a58b7dd5932b5c3bede991e50bc6
17 changes: 12 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ task:
dockerfile: .ci/Dockerfile
cpu: 8
memory: 16G
matrix:
FLUTTER_CHANNEL: "master"
FLUTTER_CHANNEL: "stable"
upgrade_script:
- flutter channel master
- flutter channel $FLUTTER_CHANNEL
- flutter upgrade
- git fetch origin master
- git fetch origin $FLUTTER_CHANNEL
activate_script: pub global activate flutter_plugin_tools
matrix:
- name: publishable
Expand All @@ -24,7 +27,7 @@ task:
script: ./script/incremental_build.sh analyze
- name: build_all_plugins_apk
script: ./script/build_all_plugins_app.sh apk
- name: build-apks+java-test+drive-examples
- name: build-apks+java-test+firebase-test-lab
env:
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2"
Expand All @@ -43,6 +46,7 @@ task:
- export CIRRUS_COMMIT_MESSAGE=""
- ./script/incremental_build.sh build-examples --apk
- ./script/incremental_build.sh java-test # must come after apk build
- ./script/incremental_build.sh firebase-test-lab
- export CIRRUS_CHANGE_MESSAGE=`cat /tmp/cirrus_change_message.txt`
- export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt`

Expand All @@ -52,10 +56,13 @@ task:
image: mojave-xcode-10.2-flutter
setup_script:
- pod repo update
matrix:
FLUTTER_CHANNEL: "master"
FLUTTER_CHANNEL: "stable"
upgrade_script:
- flutter channel master
- flutter channel $FLUTTER_CHANNEL
- flutter upgrade
- git fetch origin master
- git fetch origin $FLUTTER_CHANNEL
activate_script:
- pub global activate flutter_plugin_tools
create_simulator_script:
Expand Down