mihon/.travis.yml

32 lines
698 B
YAML
Raw Normal View History

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