File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : android
2
+
3
+ android :
4
+ components :
5
+ - build-tools-19.0.0
6
+
7
+ notifications :
8
+ email : false
9
+
10
+ env :
11
+ matrix :
12
+ - ANDROID_SDKS=android-19,sysimg-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
13
+
14
+ before_install :
15
+ - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
16
+ - emulator -avd test -no-skin -no-audio -no-window &
17
+
18
+ before_script :
19
+ - ./scripts/wait_for_emulator.sh
20
+ - adb shell input keyevent 82 &
Original file line number Diff line number Diff line change @@ -44,4 +44,8 @@ android {
44
44
minSdkVersion 10
45
45
targetSdkVersion 19
46
46
}
47
+
48
+ lintOptions {
49
+ abortOnError false
50
+ }
47
51
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ bootanim=" "
4
+ failcounter=0
5
+ until [[ " $bootanim " =~ " stopped" ]]; do
6
+ bootanim=` adb -e shell getprop init.svc.bootanim 2>&1 `
7
+ echo " $bootanim "
8
+ if [[ " $bootanim " =~ " not found" ]]; then
9
+ let " failcounter += 1"
10
+ if [[ $failcounter -gt 3 ]]; then
11
+ echo " Failed to start emulator"
12
+ exit 1
13
+ fi
14
+ fi
15
+ sleep 1
16
+ done
17
+ echo " Done"
You can’t perform that action at this time.
0 commit comments