Commit 1ecdf255 authored by Matteo De Carlo's avatar Matteo De Carlo

arm vm available only up to android-25

gradlew lint
parent 03d278d5
......@@ -31,6 +31,7 @@ build:
unitTests:
stage: test
script:
- ./gradlew lint
- ./gradlew test
functionalTests:
......@@ -38,8 +39,8 @@ 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
- /sdk/tools/bin/sdkmanager --install "system-images;android-${ANDROID_COMPILE_SDK};google_apis;armeabi-v7a"
- echo no | /sdk/tools/bin/avdmanager create avd --name test -k "system-images;android-${ANDROID_COMPILE_SDK};google_apis;armeabi-v7a"
- /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
- /sdk/platform-tools/adb shell input keyevent 82
......
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