forked from jdeferred/jdeferred
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
36 lines (36 loc) · 953 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
jdk: oraclejdk8
language: android
android:
components:
- tools
- platform-tools
- build-tools-19.1.0
- android-16
- extra
- extra-google-m2repository
- extra-android-m2repository
before_script:
- echo "sdk.dir=$ANDROID_HOME" > $TRAVIS_BUILD_DIR/local.properties
- echo "android.builder.sdkDownload=false" >> $TRAVIS_BUILD_DIR/local.properties
- ./gradlew --version
script:
- ./gradlew -S --scan build jacocoTestReport jacocoRootReport -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true
after_success:
- ./gradlew coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d0ff955ce897cb77d2a5
on_success: change
on_failure: always
on_start: never