From a14d6a3e15e31c8bfdeaefd4e33e2ce6510cf31d Mon Sep 17 00:00:00 2001 From: fedor Date: Sat, 10 Feb 2018 08:33:52 -0500 Subject: [PATCH 1/6] Configured Cirrus CI As described in https://cirrus-ci.org/examples/#flutter --- .cirrus.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000000..57d9bbd57541 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,20 @@ +container: + image: cirrusci/flutter:0.0.24 + +task: + pub_cache: + folder: ~/.pub-cache + 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 \ No newline at end of file From 21c36f3cf433ea8dd13a760ab2416a7967579878 Mon Sep 17 00:00:00 2001 From: fedor Date: Mon, 12 Feb 2018 13:32:41 -0500 Subject: [PATCH 2/6] Use Flutter 0.1.0 --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 57d9bbd57541..ea05f97c5d76 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,5 +1,5 @@ container: - image: cirrusci/flutter:0.0.24 + image: cirrusci/flutter:0.1.0 task: pub_cache: From a3767bb051813ad4316d04d320f5236480adc592 Mon Sep 17 00:00:00 2001 From: fedor Date: Thu, 15 Feb 2018 16:49:06 -0500 Subject: [PATCH 3/6] always upgrade Flutter to the latest master --- .cirrus.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index ea05f97c5d76..b571b6da2e26 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,9 +1,12 @@ container: - image: cirrusci/flutter:0.1.0 + image: cirrusci/flutter:0.1.1 task: pub_cache: folder: ~/.pub-cache + upgrade_script: + - flutter channel master + - flutter upgrade activate_script: pub global activate flutter_plugin_tools matrix: - name: test+format From e4456fe90ceb316d0bbe9a17c6e02926f41468ef Mon Sep 17 00:00:00 2001 From: fedor Date: Thu, 15 Feb 2018 16:55:22 -0500 Subject: [PATCH 4/6] removed pub cache to always to test against the latest version of libraries --- .cirrus.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index b571b6da2e26..c47bcde88646 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -2,8 +2,6 @@ container: image: cirrusci/flutter:0.1.1 task: - pub_cache: - folder: ~/.pub-cache upgrade_script: - flutter channel master - flutter upgrade From 22996274e5511a6d787470e16735008c77979106 Mon Sep 17 00:00:00 2001 From: fedor Date: Mon, 5 Mar 2018 11:31:13 -0500 Subject: [PATCH 5/6] always use the latest available Flutter image --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index c47bcde88646..71f1a61ad319 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,5 +1,5 @@ container: - image: cirrusci/flutter:0.1.1 + image: cirrusci/flutter:latest task: upgrade_script: From d3abff881b4f5f389ce71cd3966c1212a96a8b67 Mon Sep 17 00:00:00 2001 From: fedor Date: Mon, 5 Mar 2018 12:01:22 -0500 Subject: [PATCH 6/6] no upgrade --- .cirrus.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 71f1a61ad319..a4c329290953 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -2,9 +2,6 @@ container: image: cirrusci/flutter:latest task: - upgrade_script: - - flutter channel master - - flutter upgrade activate_script: pub global activate flutter_plugin_tools matrix: - name: test+format