2016-12-28 15:58:44 +01:00
|
|
|
language: android
|
2021-04-15 20:20:43 +02:00
|
|
|
jdk: openjdk11
|
2019-07-27 03:11:26 +02:00
|
|
|
dist: trusty
|
2016-12-28 15:58:44 +01:00
|
|
|
env:
|
|
|
|
matrix:
|
2019-05-18 09:40:06 +02:00
|
|
|
- ANDROID_TARGET=android-28 ANDROID_ABI=x86 org.gradle.jvmargs=-XX:-OmitStackTraceInFastThrow
|
2016-12-28 15:58:44 +01:00
|
|
|
android:
|
|
|
|
components:
|
2019-07-27 03:05:35 +02:00
|
|
|
- platform-tools
|
2019-07-27 12:19:13 +02:00
|
|
|
- tools
|
2021-05-19 07:56:18 +02:00
|
|
|
- build-tools-30.0.2
|
2019-05-16 23:07:08 +02:00
|
|
|
- android-28
|
2016-12-28 15:58:44 +01:00
|
|
|
- extra-google-m2repository
|
|
|
|
- extra-android-m2repository
|
|
|
|
- extra-google-google_play_services
|
|
|
|
|
2018-01-25 13:28:46 +01:00
|
|
|
before_install:
|
2021-05-19 07:56:18 +02:00
|
|
|
- yes | sdkmanager --licenses
|
2018-01-25 13:28:46 +01:00
|
|
|
|
2016-12-28 15:58:44 +01:00
|
|
|
script:
|
|
|
|
# Unit Test
|
2019-08-01 21:20:17 +02:00
|
|
|
- ./gradlew -Pcoverage -PfirebaseDisable testFullDebugUnitTest jacocoTestFullDebugUnitTestReport
|
2018-01-10 23:31:31 +01:00
|
|
|
|
|
|
|
after_success:
|
2018-04-06 21:51:55 +02:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
2019-07-28 22:19:49 +02:00
|
|
|
- $HOME/.android/build-cache
|