2014-07-05 11:12:37 -04:00
|
|
|
language: android
|
2014-11-09 21:31:14 -05:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- build-tools-21.0.2
|
2014-11-09 23:55:21 -05:00
|
|
|
- sys-img-x86-android-21
|
|
|
|
- android-21
|
2014-11-09 21:31:14 -05:00
|
|
|
- extra-android-support
|
|
|
|
- extra-google-m2repository
|
|
|
|
- extra-android-m2repository
|
|
|
|
|
2014-09-12 22:50:21 -04:00
|
|
|
env:
|
|
|
|
matrix:
|
2014-11-09 23:55:23 -05:00
|
|
|
- ANDROID_SDKS=android-21,sysimg-21 ANDROID_TARGET=android-21 ANDROID_ABI=x86
|
2014-07-05 11:12:37 -04:00
|
|
|
|
2014-11-09 21:37:21 -05:00
|
|
|
before_install:
|
2014-07-05 11:12:37 -04:00
|
|
|
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
|
|
|
|
- emulator -avd test -no-skin -no-audio -no-window &
|
2014-11-09 21:37:21 -05:00
|
|
|
|
|
|
|
before_script:
|
2014-11-09 23:55:24 -05:00
|
|
|
- sleep 30
|
2014-07-05 11:27:28 -04:00
|
|
|
- bash ./wait_for_emulator
|
2014-11-06 19:56:45 -05:00
|
|
|
- adb shell input keyevent 82 &
|
|
|
|
|
2014-11-09 23:55:18 -05:00
|
|
|
script: "bash gradlew connectedAndroidTestTestConfigDebug"
|