Skip to content

Commit

Permalink
test emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurivn committed May 3, 2020
1 parent 0e0bb35 commit 7082f84
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,26 @@ android:
components:
- platform-tools
- tools
- extra-android-support
- extra-google-google_play_services
- extra-android-m2repository
- extra-google-m2repository
- build-tools-28.0.3
- android-28
- android-27
- android-22
- sys-img-armeabi-v7a-android-22
before_install:
- yes | ${ANDROID_HOME}/tools/bin/sdkmanager "platforms;android-28"
- yes | ${ANDROID_HOME}/tools/bin/sdkmanager "platforms;android-27"
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- chmod +x gradlew
- chmod +x generate-apks.sh
- adb shell input keyevent 82 &
script:
- ./gradlew build
- ./gradlew clean build connectedAndroidTest --stacktrace
after_success:
- ./generate-apks.sh

0 comments on commit 7082f84

Please sign in to comment.