forked from WeRockStar/Dagger2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 785 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
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-21
- ANDROID_ABI=armeabi-v7a
android:
components:
- platform-tools
- tools
- build-tools-29.0.2
- android-29
- extra-android-m2repository
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
#before_script:
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
# - emulator -avd test -no-skin -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell setprop dalvik.vm.dexopt-flags v=n,o=v
script:
# Unit Test
- ./gradlew test jacocoTestReportDebug assembleAndroidTest lint
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
slack:
on_success: always
rooms:
- werockstar:wl61Y86uYultyrQHTR3RE9Cx#ci_notify