-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (43 loc) · 1.08 KB
/
.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
37
38
39
40
41
42
43
44
45
46
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-23
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- tools
- platform-tools
- build-tools-23.0.3
- android-23
- extra-android-m2repository
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
script:
- ./gradlew build jacocoTestReport assembleAndroidTest
- 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
- ./gradlew connectedCheck
after_success:
- bash <(curl -s https://codecov.io/bash)
#after_success:
# - bash <(curl -s https://codecov.io/bash)
#language: android
#android:
# components:
# - tools # to get the new `repository-11.xml`
# - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
# - platform-tools
# - build-tools-24.0.2
# - android-24
#
#script:
# - ./gradlew build connectedCheck
#branches:
# except:
# - gh-pages
#
#notifications:
# email: false