Showing
1 changed file
with
2 additions
and
3 deletions
| 1 | -# Originally based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be | ||
| 2 | sudo: true | 1 | sudo: true |
| 3 | 2 | ||
| 4 | matrix: | 3 | matrix: |
| @@ -23,7 +22,7 @@ matrix: | @@ -23,7 +22,7 @@ matrix: | ||
| 23 | - extra-google-m2repository | 22 | - extra-google-m2repository |
| 24 | - extra-android-m2repository | 23 | - extra-android-m2repository |
| 25 | 24 | ||
| 26 | - - sys-img-x86-android-26 | 25 | + - sys-img-armeabi-v7a-android-26 |
| 27 | 26 | ||
| 28 | install: | 27 | install: |
| 29 | - git clone -b master https://github.com/flutter/flutter.git | 28 | - git clone -b master https://github.com/flutter/flutter.git |
| @@ -32,7 +31,7 @@ matrix: | @@ -32,7 +31,7 @@ matrix: | ||
| 32 | - export PATH="$PATH":"$HOME/.pub-cache/bin" | 31 | - export PATH="$PATH":"$HOME/.pub-cache/bin" |
| 33 | - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH | 32 | - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH |
| 34 | 33 | ||
| 35 | - - echo no | android create avd --force -n test -t android-26 --abi default/x86 -c 100M | 34 | + - echo no | android create avd --force -n test -t android-26 --abi armeabi-v7a -c 100M |
| 36 | - emulator -avd test -no-audio -no-window & | 35 | - emulator -avd test -no-audio -no-window & |
| 37 | - android-wait-for-emulator | 36 | - android-wait-for-emulator |
| 38 | - adb shell input keyevent 82 & | 37 | - adb shell input keyevent 82 & |
-
Please register or login to post a comment