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
|
|
|
|
- echo y | android update sdk -u -a -t build-tools-25.0.3
|
|
|
|
- echo y | android update sdk -u -a -t android-25
|
|
|
|
- echo y | android update sdk -u -a -t extra-google-m2repository
|
|
|
|
- echo y | android update sdk -u -a -t extra-android-m2repository
|
|
|
|
|
|
|
|
env:
|
2015-03-18 22:52:07 +00:00
|
|
|
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
|
2017-07-28 15:43:23 +00:00
|
|
|
- mkdir "$ANDROID_HOME/licenses" || true
|
|
|
|
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
|
|
|
|
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
|
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"
|