2016-03-30 10:32:07 +02:00
|
|
|
language: android
|
|
|
|
jdk:
|
2016-07-18 11:59:10 +02:00
|
|
|
- oraclejdk8
|
2016-03-30 10:32:07 +02:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- tools
|
2016-07-18 11:59:10 +02:00
|
|
|
- tools # TODO https://github.com/travis-ci/travis-ci/issues/6193
|
|
|
|
- platform-tools
|
2016-10-13 16:56:31 +02:00
|
|
|
- build-tools-24.0.2
|
2016-07-18 11:59:10 +02:00
|
|
|
- android-24
|
2016-03-30 10:32:07 +02:00
|
|
|
- extra-android-m2repository
|
2016-07-18 11:59:10 +02:00
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
script: "./gradlew $TASK"
|
|
|
|
env:
|
|
|
|
- TASK="lintDebug"
|
|
|
|
- TASK="build check --stacktrace"
|
2016-03-30 11:00:06 +02:00
|
|
|
|
2016-08-14 11:34:36 +02:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- l10n_master
|
2016-03-30 11:00:06 +02:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/e462044d3105a7bb4b4f
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: never # options: [always|never|change] default: always
|