This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 11# Copyright 2014 Google Inc. All rights reserved.
2- #
2+ #
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
55# You may obtain a copy of the License at
6- #
6+ #
77# http://www.apache.org/licenses/LICENSE-2.0
8- #
8+ #
99# Unless required by applicable law or agreed to in writing, software
1010# distributed under the License is distributed on an "AS IS" BASIS,
1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -17,21 +17,17 @@ language: android
1717android :
1818 components :
1919 - build-tools-21.1.2
20- - android-20
2120 - android-21
21+ - addon-google_apis-google-21
2222 - extra-google-m2repository
2323 - extra-android-m2repository
24- - sys-img-armeabi-v7a-android -21
24+ - sys-img-armeabi-v7a-addon-google_apis-google -21
2525
2626notifications :
2727 email : false
2828
29- env :
30- matrix :
31- - ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
32-
3329before_install :
34- - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
30+ - echo no | android create avd --force -n test -t "Google Inc.:Google APIs:21" --abi google_apis/armeabi-v7a
3531 - emulator -avd test -no-skin -no-audio -no-window &
3632
3733before_script :
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ until [[ "$bootanim" =~ "stopped" ]]; do
77 echo " $bootanim "
88 if [[ " $bootanim " =~ " not found" ]]; then
99 let " failcounter += 1"
10- if [[ $failcounter -gt 3 ]]; then
10+ if [[ $failcounter -gt 6 ]]; then
1111 echo " Failed to start emulator"
1212 exit 1
1313 fi
1414 fi
15- sleep 1
15+ sleep 10
1616done
1717echo " Done"
You can’t perform that action at this time.
0 commit comments