Android-Password-Store/.travis.yml
Harsh Shandilya f8fae4508e
Fix Travis-CI builds
Setting dist: trusty is mandatory now

https://docs.travis-ci.com/user/languages/android/#overview

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-29 12:30:50 +05:30

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/