Skip to content

Commit

Permalink
Tweak emulator launch parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vgaidarji committed Jan 8, 2019
1 parent f49804d commit 8bdcb43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 39 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-25-alpha
- image: circleci/android:api-28-alpha
environment:
JVM_OPTS: -Xmx3200m
ADB_INSTALL_TIMEOUT: 10
Expand Down Expand Up @@ -35,13 +35,19 @@ jobs:
- run:
name: Setup emulator
command: echo "no" | avdmanager create avd -n test -k "system-images;android-21;default;armeabi-v7a"
- run:
name: List avds
command: android list avd
- run:
name: Launch emulator
command: export LD_LIBRARY_PATH=${ANDROID_HOME}/emulator/lib64:${ANDROID_HOME}/emulator/lib64/qt/lib && emulator64-arm -avd test -noaudio -no-boot-anim -no-window -accel on
command: emulator64-arm -avd test -noaudio -no-boot-anim -no-window -gpu swiftshader -verbose &
background: true
- run:
name: Wait for emulator
command: circle-android wait-for-boot
command: ./wait_for_emulator.sh
- run:
name: Unlock emulator
command: adb shell input keyevent 82
- run:
name: Run UI tests
command: ./gradlew connectedAndroidTest
Expand Down
36 changes: 0 additions & 36 deletions CIRCLE.md

This file was deleted.

0 comments on commit 8bdcb43

Please sign in to comment.