Skip to content

Commit

Permalink
Platform-dependant avd creation and remove non existing component
Browse files Browse the repository at this point in the history
Signed-off-by: Florian <[email protected]>
  • Loading branch information
FlorianSW committed Jan 8, 2018
1 parent 7541afb commit 3c3d147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ android:
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- extra-android-support
- $ANDROID_TARGET

install:
Expand All @@ -44,7 +43,8 @@ install:
before_script:
- android list device
- android list target
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -d "5.4in FWVGA"
- if [[ $ANDROID_TARGET == "android-22" ]]; then echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -d "5.4in FWVGA"; fi
- if [[ $ANDROID_TARGET == "android-27" ]]; then echo no | avdmanager create avd --force -n test -k "system-images;$ANDROID_TARGET;$ANDROID_TAG;$ANDROID_ABI" -d "5.4in FWVGA"; fi
- emulator -avd test -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
Expand Down

0 comments on commit 3c3d147

Please sign in to comment.