tsacdop-podcast-app-android/.circleci/config.yml

26 lines
764 B
YAML
Raw Normal View History

2020-02-13 04:18:56 +01:00
version: 2
jobs:
build:
docker:
2020-03-21 17:30:23 +01:00
- image: cirrusci/flutter:beta
2020-02-13 04:18:56 +01:00
branches:
only: master
steps:
- checkout
- run: cd /home/cirrus/sdks/flutter && git remote add origin https://github.com/flutter/flutter
- run: flutter upgrade && cd /home/cirrus/project/tsacdop
2020-02-13 04:18:56 +01:00
- run:
name: Run Flutter doctor
command: flutter doctor
2020-03-01 13:17:06 +01:00
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
- run: dart tool/env.dart
2020-02-13 04:18:56 +01:00
- run:
name: Build the Android version
2020-02-25 13:46:44 +01:00
command: flutter build apk --split-per-abi --no-shrink
2020-02-13 04:18:56 +01:00
- store_artifacts:
2020-02-13 07:47:09 +01:00
path: build/app/outputs/apk/release/