mirror of
https://github.com/gsantner/dandelion
synced 2024-11-24 13:22:08 +01:00
35 lines
891 B
YAML
35 lines
891 B
YAML
language: android
|
|
jdk:
|
|
- oraclejdk8
|
|
android:
|
|
components:
|
|
- tools
|
|
- tools # TODO https://github.com/travis-ci/travis-ci/issues/6193
|
|
- platform-tools
|
|
- build-tools-24.0.3
|
|
- android-24
|
|
- extra-android-m2repository
|
|
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"
|
|
|
|
branches:
|
|
except:
|
|
- l10n_master
|
|
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
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|