forked from google/ExoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
24 lines (24 loc) · 747 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
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_EMULATOR_LEVEL=android-22
- ANDROID_API_LEVEL=android-29
- ANDROID_BUILD_TOOL_VERSION=build-tools-28.0.3
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- platform-tools
- $ANDROID_BUILD_TOOL_VERSION
- $ANDROID_API_LEVEL
- extra-android-m2repository
- $ANDROID_EMULATOR_LEVEL
- sys-img-${ANDROID_ABI}-${ANDROID_EMULATOR_LEVEL}
before_script:
- echo no | android create avd --force -n test -t $ANDROID_EMULATOR_LEVEL --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:
- travis_wait 90 ./gradlew library-core:build library-hls:build