mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-07 16:09:38 +02:00
Rewrite Travis-CI configuration (#436)
* Rewrite Travis-CI configuration - Use OpenJDK - Enable Travis-CI caches - Switch to Travis' own dependency management system Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Gradle plugin 3.2.0 uses build-tools-28.0.2 Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
This commit is contained in:
parent
01df4371db
commit
bb4c8b0688
46
.travis.yml
46
.travis.yml
|
@ -1,30 +1,28 @@
|
|||
language: android
|
||||
jdk: oraclejdk8
|
||||
|
||||
before_install:
|
||||
- yes | sdkmanager "platforms;android-27"
|
||||
jdk:
|
||||
- openjdk8
|
||||
|
||||
licenses:
|
||||
- 'android-sdk-preview-license-.+'
|
||||
- 'android-sdk-license-.+'
|
||||
- 'google-gdk-license-.+'
|
||||
android:
|
||||
components:
|
||||
- tools
|
||||
- build-tools-28.0.2
|
||||
- android-28
|
||||
- extra-google-m2repository
|
||||
- extra-android-m2repository
|
||||
licenses:
|
||||
- ".+"
|
||||
|
||||
script:
|
||||
- "./gradlew clean build test lintDebug -Dpre-dex=false"
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.gradle
|
||||
|
||||
# ok no tests for now
|
||||
# - sys-img-x86-android-22
|
||||
|
||||
install:
|
||||
- echo y | android update sdk -u -a -t tools
|
||||
- echo y | android update sdk -u -a -t platform-tools
|
||||
- echo y | android update sdk -u -a -t build-tools-27.0.1
|
||||
- echo y | android update sdk -u -a -t android-27
|
||||
- echo y | android update sdk -u -a -t extra-google-m2repository
|
||||
- echo y | android update sdk -u -a -t extra-android-m2repository
|
||||
|
||||
env:
|
||||
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
|
||||
|
||||
script: "./gradlew clean build test lintDebug -Dpre-dex=false"
|
||||
- "$HOME/.m2"
|
||||
- "$HOME/.gradle"
|
||||
- "$ANDROID_HOME"
|
||||
|
|
Loading…
Reference in a new issue