Skip to content

Commit

Permalink
Set device to Nexus 4 and re-enable API 16, 17, and 18 emulator tests.
Browse files Browse the repository at this point in the history
Fixes #2738.
  • Loading branch information
sjudd committed Dec 22, 2017
1 parent ae202bc commit 0e3172a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ env:
matrix:
- COMPONENT=unit
- COMPONENT=firebase
# TODO(#2738): Re-enable these when we find a fix.
# - COMPONENT=instrumentation ANDROID_TARGET=16
# - COMPONENT=instrumentation ANDROID_TARGET=17
# - COMPONENT=instrumentation ANDROID_TARGET=18
- COMPONENT=instrumentation ANDROID_TARGET=16
- COMPONENT=instrumentation ANDROID_TARGET=17
- COMPONENT=instrumentation ANDROID_TARGET=18
- COMPONENT=instrumentation ANDROID_TARGET=19
- COMPONENT=instrumentation ANDROID_TARGET=21
- COMPONENT=instrumentation ANDROID_TARGET=22
Expand Down
2 changes: 1 addition & 1 deletion scripts/travis_create_emulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
target="system-images;android-${ANDROID_TARGET};default;armeabi-v7a"
echo y | sdkmanager --update
echo y | sdkmanager --install $target
avdmanager create avd --force -n test -k $target --device "Nexus 5X" -c 2000M
avdmanager create avd --force -n test -k $target --device "Nexus 4" -c 2048M
QEMU_AUDIO_DRV=none $ANDROID_HOME/emulator/emulator -avd test -no-window -memory 2048 &

exit 0

0 comments on commit 0e3172a

Please sign in to comment.