mihon/.travis.yml
Jozef Hollý c31f0b4bb3 Change travis gradle task, small doc update (#295)
* Use gradle task build in travis

* Update CONTRIBUTING.md
2016-05-10 13:42:08 +02:00

28 lines
672 B
YAML

language: android
android:
components:
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-23.0.3
- android-23
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
- extra-google-google_play_services
before_script:
- chmod +x gradlew
#Build, and run tests
script: "./gradlew clean build"
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"