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

29 lines
646 B
YAML
Raw Normal View History

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
- run:
name: Run the application tests
command: flutter test
2020-02-13 07:26:38 +01:00
- run: echo $ENCODED_KEYSTORE | base64 --decode >> ${HOME}/keystore.jks
- run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> $BASH_ENV
2020-02-13 04:18:56 +01:00
- run:
name: Build the Android version
command: flutter build apk
- store_artifacts:
path: build/app/outputs/apk/release/app-release.apk