Skip to content
This repository was archived by the owner on Oct 9, 2022. It is now read-only.

Commit dc21fcb

Browse files
Update .travis.yml
1 parent 17e6845 commit dc21fcb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ android:
1515
components:
1616
- platform-tools
1717
- tools
18+
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
1819
- android-$ANDROID_API_LEVEL
1920
- extra-google-google_play_services
2021
- extra-android-support
2122
- extra-google-m2repository
2223
- extra-android-m2repository
24+
- android-$EMULATOR_API_LEVEL
2325
- addon-google_apis-google-$ANDROID_API_LEVEL
2426
- addon-google_apis-google-$EMULATOR_API_LEVEL
27+
- sys-img-armeabi-v7a-google_apis-$ANDROID_API_LEVEL
28+
- sys-img-armeabi-v7a-google_apis-$EMULATOR_API_LEVEL
2529

2630

2731
licenses:
@@ -34,6 +38,10 @@ android:
3438
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
3539
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
3640

41+
before_script:
42+
- echo no | android create avd --force -n test -t "android-"$EMULATOR_API_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG
43+
- emulator -avd test -no-skin -no-audio -no-window &
44+
- android-wait-for-emulator
3745

3846
script:
3947
- ./gradlew connectedAndroidTest coveralls

0 commit comments

Comments
 (0)