travis: add delay to increase reliability

This commit is contained in:
Andrea Torlaschi
2016-07-10 20:27:55 +02:00
parent 635358189c
commit fa926c7241
2 changed files with 6 additions and 5 deletions

View File

@@ -41,8 +41,9 @@ script:
echo no | android create avd --force --name test --target $ANDROID_TARGET --abi $ANDROID_ABI;
emulator -avd test -no-skin -no-audio -no-window &
android-wait-for-emulator;
adb devices;
sleep 10;
adb shell svc power stayon true;
sleep 5;
adb shell input keyevent 82;
./gradlew --stacktrace connectedFdroidDebugAndroidTest -i;
fi