2015-09-24 23:27:43 +08:00
|
|
|
language: android
|
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- platform-tools
|
|
|
|
- tools
|
|
|
|
|
|
|
|
# The BuildTools version used by your project
|
2016-09-02 02:05:11 +08:00
|
|
|
- build-tools-24.0.2
|
2016-07-30 22:18:51 +08:00
|
|
|
- android-24
|
2015-09-24 23:27:43 +08:00
|
|
|
- extra-android-m2repository
|
|
|
|
- extra-google-m2repository
|
|
|
|
- extra-android-support
|
|
|
|
- extra-google-google_play_services
|
|
|
|
|
2016-07-30 22:40:35 +08:00
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
2015-09-24 23:27:43 +08:00
|
|
|
before_script:
|
|
|
|
- chmod +x gradlew
|
|
|
|
#Build, and run tests
|
2016-05-10 22:13:28 +08:00
|
|
|
script: "./gradlew clean buildDebug"
|
2015-09-24 23:27:43 +08:00
|
|
|
sudo: false
|
2016-04-09 23:57:01 +08:00
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
2016-04-17 22:58:29 +08:00
|
|
|
env:
|
2016-05-10 19:42:08 +08:00
|
|
|
- GRADLE_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|