Commit 0988df80 authored by Matteo De Carlo's avatar Matteo De Carlo

fix ci tests

parent bcecb946
......@@ -3,6 +3,7 @@ image: javiersantos/android-ci:27.0.3
variables:
ANDROID_COMPILE_SDK: "27"
ANDROID_TEST_SDK: "25"
ANDROID_BUILD_TOOLS: "27.0.3"
ANDROID_SDK_TOOLS: "26.1.1"
......@@ -37,9 +38,9 @@ functionalTests:
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
- chmod +x android-wait-for-emulator
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter sys-img-x86-google_apis-${ANDROID_COMPILE_SDK}
- echo no | android-sdk-linux/tools/android create avd -n test -t android-${ANDROID_COMPILE_SDK} --abi google_apis/x86
- android-sdk-linux/tools/emulator64-x86 -avd test -no-window -no-audio &
- /sdk/tools/bin/sdkmanager --install "system-images;android-${ANDROID_COMPILE_SDK};google_apis;x86"
- echo no | /sdk/tools/bin/avdmanager create avd --name test -k "system-images;android-${ANDROID_COMPILE_SDK};google_apis;x86" --abi google_apis/x86
- /sdk/tools/emulator -avd test -no-window -no-audio &
- ./android-wait-for-emulator
- adb shell input keyevent 82
- /sdk/platform-tools/adb shell input keyevent 82
- ./gradlew cAT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment