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

Commit

Permalink
Add channel to fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman committed Dec 7, 2019
1 parent c643da5 commit 5d69c78
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 5d69c78

Please sign in to comment.