Browse Source

install emulator on CI

Daniel Zlotin 7 years ago
parent
commit
7a84e79a28
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      .travis.yml

+ 4
- 0
.travis.yml View File

@@ -40,6 +40,10 @@ install:
40 40
   - yarn config set cache-folder $YARN_CACHE
41 41
   # android sdk
42 42
   - ./scripts/installAndroidSDK.sh
43
+  # android emulator
44
+  - echo yes | android update sdk --no-ui --all --filter "sys-img-armeabi-v7a-google_apis-25"
45
+  - echo no | android create avd --name AVD -t android-25 --abi google_apis/armeabi-v7a
46
+  - android list avd
43 47
   # fbsimctl
44 48
   - brew tap facebook/fb && brew install fbsimctl
45 49