From 024c25754a97c5f7ec8dbeb8a3d2fa670a7d7737 Mon Sep 17 00:00:00 2001 From: stonegate Date: Thu, 13 Feb 2020 11:18:56 +0800 Subject: [PATCH] new file: .circleci/config.yaml --- .circleci/config.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yaml diff --git a/.circleci/config.yaml b/.circleci/config.yaml new file mode 100644 index 0000000..1e9d842 --- /dev/null +++ b/.circleci/config.yaml @@ -0,0 +1,26 @@ +version: 2 +jobs: + build: + docker: + - image: cirrusci/flutter:v1.13.6 + + branches: + only: master + + steps: + - checkout + + - run: + name: Run Flutter doctor + command: flutter doctor + + - run: + name: Run the application tests + command: flutter test + + - run: + name: Build the Android version + command: flutter build apk + + - store_artifacts: + path: build/app/outputs/apk/release/app-release.apk \ No newline at end of file