2020-02-13 04:18:56 +01:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
- image: cirrusci/flutter:v1.13.6
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only: master
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Run Flutter doctor
|
|
|
|
command: flutter doctor
|
|
|
|
|
2020-02-13 07:35:30 +01:00
|
|
|
- run: echo $ENCODED_KEYSTORE | base64 -di > ${HOME}/keystore.jks
|
2020-02-13 07:26:38 +01:00
|
|
|
- run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> $BASH_ENV
|
2020-02-13 07:16:10 +01:00
|
|
|
|
2020-02-13 04:18:56 +01:00
|
|
|
- run:
|
|
|
|
name: Build the Android version
|
2020-02-13 07:47:09 +01:00
|
|
|
command: flutter build apk --split-per-abi
|
2020-02-13 04:18:56 +01:00
|
|
|
|
|
|
|
- store_artifacts:
|
2020-02-13 07:47:09 +01:00
|
|
|
path: build/app/outputs/apk/release/
|