Skip to content

Commit

Permalink
Configure Flutter CI (flutter#383)
Browse files Browse the repository at this point in the history
* Configured Cirrus CI

As described in https://cirrus-ci.org/examples/#flutter

* Use Flutter 0.1.0

* always upgrade Flutter to the latest master

* removed pub cache to always to test against the latest version of libraries

* always use the latest available Flutter image

* no upgrade
  • Loading branch information
fkorotkov authored and Hixie committed Mar 9, 2018
1 parent 6bd5337 commit 409bd64
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
container:
image: cirrusci/flutter:latest

task:
activate_script: pub global activate flutter_plugin_tools
matrix:
- 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-5.0 main"
- sudo apt-get update
- sudo apt-get install -y --allow-unauthenticated clang-format-5.0
format_script: ./script/plugin_tools.sh format --travis --clang-format=clang-format-5.0
test_script: ./script/plugin_tools.sh test
- name: analyze
script: ./script/plugin_tools.sh analyze
- name: build-apks
script: ./script/plugin_tools.sh build-examples --apk

0 comments on commit 409bd64

Please sign in to comment.