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-14 01:26:56 +02:00
|
|
|
- build-tools-24.0.3
|
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:
|
2017-03-19 23:32:18 +01:00
|
|
|
- TASK="lintFlavorDefaultDebug"
|
2016-07-18 11:59:10 +02:00
|
|
|
- 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-11-20 16:43:38 +01:00
|
|
|
- l10n_master2
|
|
|
|
- crowdin
|
2016-03-30 11:00:06 +02:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
2016-12-24 15:33:52 +01:00
|
|
|
- "https://webhooks.gitter.im/e/e462044d3105a7bb4b4f"
|
|
|
|
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGdzYW50bmVyJTNBbWF0cml4Lm9yZy8lMjFNUERTYURTaVBMZXdSQXBxa24lM0FtYXRyaXgub3Jn"
|
2016-03-30 11:00:06 +02:00
|
|
|
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
|
2016-10-13 01:45:55 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|