Skip to content

Commit fd07c2c

Browse files
committed
o
1 parent ddd74b8 commit fd07c2c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ sudo: true
22
language: android
33
dist: trusty
44
install: true
5+
jdk: oraclejdk8
56

67
env:
78
global:
8-
- ANDROID_API_LEVEL=22
9+
- ANDROID_API_LEVEL=28
10+
- ANDROID_EMULATOR_API_LEVEL=22
911
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
1012
- ANDROID_ABI=armeabi-v7a
1113

@@ -16,9 +18,6 @@ addons:
1618
branches:
1719
- develop
1820

19-
jdk:
20-
- oraclejdk8
21-
2221
branches:
2322
only:
2423
- develop
@@ -33,9 +32,10 @@ android:
3332
- platform-tools
3433
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
3534
- android-$ANDROID_API_LEVEL
35+
- android-$ANDROID_EMULATOR_API_LEVEL
3636
- extra-google-m2repository
3737
- extra-android-m2repository
38-
- sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL
38+
- sys-img-armeabi-v7a-android-$ANDROID_EMULATOR_API_LEVEL
3939

4040
licenses:
4141
- android-sdk-preview-license-.+
@@ -44,9 +44,10 @@ android:
4444

4545
before_install:
4646
- yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL"
47+
- yes | sdkmanager "platforms;android-$ANDROID_EMULATOR_API_LEVEL"
4748

4849
before_script:
49-
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
50+
- echo no | android create avd --force -n test -t android-$ANDROID_EMULATOR_API_LEVEL --abi $ANDROID_ABI
5051
- emulator -avd test -no-skin -no-audio -no-window &
5152
- android-wait-for-emulator
5253
- adb shell input keyevent 82 &

0 commit comments

Comments
 (0)