forked from cidaas/cidaas-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (26 loc) · 810 Bytes
/
.travis.yml
File metadata and controls
41 lines (26 loc) · 810 Bytes
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
language: android
env:
matrix:
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-27.1.1
- build-tools-27.0.3
- $ANDROID_TARGET
- sys-img-armeabi-v7a-$ANDROID_TARGET
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
- 'android-googletv-license-.+'
before_script:
# Create and start emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &
before_install:
- yes | sdkmanager "platforms;android-27"
script: ./gradlew jacocoTestReport
after_success:
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN