2015-09-24 17:27:43 +02:00
|
|
|
language: android
|
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- platform-tools
|
|
|
|
- tools
|
|
|
|
|
|
|
|
# The BuildTools version used by your project
|
2016-04-09 11:38:59 +02:00
|
|
|
- build-tools-23.0.3
|
2015-09-24 17:27:43 +02:00
|
|
|
- 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
|
2016-04-09 11:38:59 +02:00
|
|
|
script: "./gradlew clean assembleDebug testDebugUnitTest"
|
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/
|