summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorjkoan <jkoan@gmx.de>2020-03-04 19:13:21 +0100
committerjkoan <jkoan@gmx.de>2020-03-04 19:13:21 +0100
commitf796f57996b1f429360e1514274723cefa58d562 (patch)
tree052e0e0fef6cf77ac65d20eeb2a0b6e9099b1b59 /.circleci
parent03aae0783806d836f808b91675e535f7ba712d2e (diff)
downloadnavit-f796f57996b1f429360e1514274723cefa58d562.tar.gz
add:build:Android build and signing. Also add fastlane for metadata. Set execute on scripts/*.sh
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2b7263a34..caa695e1b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -82,17 +82,19 @@ jobs:
environment:
JVM_OPTS: -Xmx3200m
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
+ KEYSTORE: '/home/circleci/.keystore'
steps:
- checkout
- run: if scripts/check_need_build.sh; then circleci step halt; fi
- run:
- name: Install cmake gettext libsaxonb-java librsvg2-bin pkg-config rename
- command: |
- sudo apt-get update
- sudo apt-get install -y cmake gettext libsaxonb-java librsvg2-bin pkg-config rename
+ name: Install requirements
+ command: scripts/setup_android.sh
+ - run:
+ name: Setup Keystore and Playstore Keys
+ command: scripts/setup_publish_keys.sh
- run:
- name: Build for Android
- command: bash scripts/build_android.sh
+ name: Build and upload Android
+ command: fastlane circleci
- run:
name: Run Lint Test
command: |