From 0e3534d7d896f38c7c0070a1056d29bbb62c7f7d Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Fri, 3 Jan 2020 12:05:02 +0000 Subject: [PATCH 1/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4df9deca..5338ddad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ code_analyze: build_web: stage: coverage - image: cirrusci/flutter:beta + image: cirrusci/flutter:master script: - flutter config --enable-web - flutter build web --release @@ -59,4 +59,4 @@ pages: paths: - public only: - - master \ No newline at end of file + - master From 646f98fb155335a32af13d976337ca82754eedaa Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Fri, 3 Jan 2020 12:34:30 +0000 Subject: [PATCH 2/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5338ddad..2c280eca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ code_analyze: build_web: stage: coverage - image: cirrusci/flutter:master + image: cirrusci/flutter:beta script: - flutter config --enable-web - flutter build web --release From c2dad42da435176b3541a0574c90dfcf63d12756 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 3 Jan 2020 12:54:42 +0000 Subject: [PATCH 3/3] Add Ci task to build a debug app on branches that are not master and build a fdroid signed version only when building on master Took 5 minutes --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c280eca..8ac3fef9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,6 +41,19 @@ build_android_fdroid: when: on_success paths: - build/app/outputs/apk/release/app-release.apk + only: + - master + +build_android_debug: + stage: coverage + script: + - flutter build apk --debug + artifacts: + when: on_success + paths: + - build/app/outputs/apk/release/app-debug.apk + except: + - master pages: stage: publish