...
 
Commits (2)
......@@ -38,10 +38,11 @@ functionalTests:
stage: test
script:
- curl --silent --output android-wait-for-emulator https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator
- sed 's/init.svc.bootanim/init.svc.qemu-props/g' -i android-wait-for-emulator
- chmod +x android-wait-for-emulator
- /sdk/tools/bin/sdkmanager --install "system-images;android-${ANDROID_TEST_SDK};google_apis;armeabi-v7a"
- echo no | /sdk/tools/bin/avdmanager create avd --name test -k "system-images;android-${ANDROID_TEST_SDK};google_apis;armeabi-v7a"
- /sdk/tools/emulator -avd test -no-window -no-audio &
- ./android-wait-for-emulator
- PATH="$PATH:/sdk/platform-tools/" ./android-wait-for-emulator
- /sdk/platform-tools/adb shell input keyevent 82
- ./gradlew cAT