Fix for Google Services on CIs.
This commit is contained in:
parent
c25a824228
commit
3fa65d4b17
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue