Skip to content

Commit f08a3e6

Browse files
committed
test: Add test emulators to Travis CI configuration
1 parent 4271106 commit f08a3e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ android:
66
- tools
77
- build-tools-28.0.3
88
- android-28
9+
- sys-img-x86-android-27
910
before_install:
1011
- yes | ${ANDROID_HOME}/tools/bin/sdkmanager "platforms;android-28"
12+
- emulator -avd test -no-audio -no-window &
13+
- android-wait-for-emulator
1114
before_script:
1215
- chmod +x gradlew
1316
- chmod +x generate-apks.sh
1417
script:
1518
- ./gradlew build
19+
- ./gradlew clean build connectedAndroidTest
1620
after_success:
1721
- ./generate-apks.sh

0 commit comments

Comments
 (0)