f8fae4508e
Setting dist: trusty is mandatory now https://docs.travis-ci.com/user/languages/android/#overview Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
33 lines
539 B
YAML
33 lines
539 B
YAML
language: android
|
|
dist: trusty
|
|
|
|
jdk:
|
|
- openjdk8
|
|
|
|
android:
|
|
components:
|
|
- tools
|
|
- build-tools-28.0.3
|
|
- extra-android-m2repository
|
|
licenses:
|
|
- ".+"
|
|
|
|
before_install:
|
|
- yes | sdkmanager "platforms;android-29"
|
|
|
|
script:
|
|
- "./gradlew build test lintDebug -Dpre-dex=false"
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
sudo: false
|
|
|
|
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/
|