2014-09-22 20:37:07 +00:00
|
|
|
language: android
|
|
|
|
|
2018-10-14 08:24:13 +00:00
|
|
|
jdk:
|
|
|
|
- openjdk8
|
2018-02-04 10:54:24 +00:00
|
|
|
|
2018-10-14 08:24:13 +00:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- tools
|
2018-11-22 10:50:40 +00:00
|
|
|
- build-tools-28.0.3
|
2018-10-14 08:24:13 +00:00
|
|
|
- extra-android-m2repository
|
|
|
|
licenses:
|
|
|
|
- ".+"
|
2016-10-16 20:17:26 +00:00
|
|
|
|
2019-06-07 08:14:45 +00:00
|
|
|
before_install:
|
2019-06-26 07:57:54 +00:00
|
|
|
- yes | sdkmanager "platforms;android-29"
|
2019-06-07 08:14:45 +00:00
|
|
|
|
2018-10-14 08:24:13 +00:00
|
|
|
script:
|
2019-06-26 07:57:54 +00:00
|
|
|
- "./gradlew build test lintDebug -Dpre-dex=false"
|
2014-09-22 20:37:07 +00:00
|
|
|
|
2018-10-14 08:24:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-08-02 09:15:31 +00:00
|
|
|
|
2018-10-14 08:24:13 +00:00
|
|
|
sudo: false
|
2015-03-18 20:13:53 +00:00
|
|
|
|
2019-06-26 07:57:54 +00:00
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
|
|
|
2018-10-14 08:24:13 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
2019-06-26 07:57:54 +00:00
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|