Fix for Google Services on CIs.

This commit is contained in:
Erik C. Thauvin 2019-09-28 08:24:52 -07:00
parent c25a824228
commit 3fa65d4b17
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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