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:
|
paths:
|
||||||
- ~/.gradle
|
- ~/.gradle
|
||||||
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.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:
|
- run:
|
||||||
name: Run Tests
|
name: Run Tests
|
||||||
command: ./gradlew lint test
|
command: ./gradlew lint test
|
||||||
|
|
|
@ -27,6 +27,7 @@ android:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
- echo $GOOGLE_SERVICES | base64 -di > app/google-services.json
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml
|
- cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue