2015-09-24 17:27:43 +02:00
|
|
|
language: android
|
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- platform-tools
|
|
|
|
- tools
|
|
|
|
|
|
|
|
# The BuildTools version used by your project
|
2016-11-24 16:11:01 +01:00
|
|
|
- build-tools-25.0.1
|
2016-11-05 20:16:54 +01:00
|
|
|
- android-25
|
2015-09-24 17:27:43 +02:00
|
|
|
- extra-android-m2repository
|
|
|
|
- extra-google-m2repository
|
|
|
|
- extra-android-support
|
|
|
|
- extra-google-google_play_services
|
|
|
|
|
2016-12-18 22:56:28 +01:00
|
|
|
licenses:
|
|
|
|
- android-sdk-license-.+
|
|
|
|
- '.+'
|
|
|
|
|
2016-07-30 16:40:35 +02:00
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
2015-09-24 17:27:43 +02:00
|
|
|
before_script:
|
2016-12-18 22:56:28 +01:00
|
|
|
- chmod +x gradlew
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- 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-09-24 17:27:43 +02:00
|
|
|
#Build, and run tests
|
2016-11-06 18:53:40 +01:00
|
|
|
script: "./gradlew clean buildStandardDebug"
|
2015-09-24 17:27:43 +02:00
|
|
|
sudo: false
|
2016-04-09 17:57:01 +02:00
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
2016-04-17 16:58:29 +02:00
|
|
|
env:
|
2016-05-10 13:42:08 +02:00
|
|
|
- GRADLE_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|