2014-09-22 20:37:07 +00:00
|
|
|
language: android
|
2016-10-16 19:48:45 +00:00
|
|
|
jdk: oraclejdk8
|
2014-09-22 20:37:07 +00:00
|
|
|
|
2016-10-16 20:17:26 +00:00
|
|
|
licenses:
|
|
|
|
- 'android-sdk-preview-license-.+'
|
|
|
|
- 'android-sdk-license-.+'
|
|
|
|
- 'google-gdk-license-.+'
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle
|
|
|
|
|
2015-03-18 22:52:07 +00:00
|
|
|
# ok no tests for now
|
|
|
|
# - sys-img-x86-android-22
|
2014-09-22 20:37:07 +00:00
|
|
|
|
2017-08-02 09:15:31 +00:00
|
|
|
install:
|
|
|
|
- echo y | android update sdk -u -a -t tools
|
|
|
|
- echo y | android update sdk -u -a -t platform-tools
|
2017-10-30 22:08:30 +00:00
|
|
|
- echo y | android update sdk -u -a -t build-tools-27.0.0
|
|
|
|
- echo y | android update sdk -u -a -t android-27
|
2017-08-02 09:15:31 +00:00
|
|
|
- echo y | android update sdk -u -a -t extra-google-m2repository
|
|
|
|
- echo y | android update sdk -u -a -t extra-android-m2repository
|
|
|
|
|
|
|
|
env:
|
2017-08-09 20:40:49 +00:00
|
|
|
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
|
2015-03-18 20:13:53 +00:00
|
|
|
|
2017-08-02 09:15:31 +00:00
|
|
|
script: "./gradlew clean build test lintDebug -Dpre-dex=false"
|