-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy path.travis.yml
29 lines (29 loc) · 961 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
language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools # intentional, see travis-ci/docs-travis-ci-com#779
- build-tools-29.0.2
- android-22 # For emulator to work
- android-29
- extra-android-m2repository
- sys-img-armeabi-v7a-android-15
- sys-img-armeabi-v7a-android-22
licenses:
- android-sdk-license-.+
env:
matrix:
- ANDROID_SDKS=android-22,sysimg-22 ANDROID_TARGET=android-22 ANDROID_ABI=armeabi-v7a
before_install:
- yes | sdkmanager "platforms;android-28"
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
before_script:
- chmod +x gradlew
- android-wait-for-emulator
- adb shell input keyevent 82 &
after_failure:
- cat $TRAVIS_BUILD_DIR/library/build/outputs/lint-results-debug.xml
- cat $TRAVIS_BUILD_DIR/library/build/reports/androidTests/connected/index.html