From 3fa65d4b1703cc70db030fc62784684c78f6a6a7 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 28 Sep 2019 08:24:52 -0700 Subject: [PATCH] Fix for Google Services on CIs. --- .circleci/config.yml | 3 +++ .travis.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8f367f..32bc18d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,9 @@ jobs: paths: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + - run: + name: Setup Google Services + command: echo $GOOGLE_SERVICES | base64 -di > app/google-services.json - run: name: Run Tests command: ./gradlew lint test diff --git a/.travis.yml b/.travis.yml index ef85651..4f8e745 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ android: before_install: - chmod +x gradlew + - echo $GOOGLE_SERVICES | base64 -di > app/google-services.json after_failure: - cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml