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