Skip to content

Commit 451ac49

Browse files
authored
Update .travis.yml
1 parent 1d17d80 commit 451ac49

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ env:
2121
global:
2222
- ADB_INSTALL_TIMEOUT=8 # timeout (in minutes)
2323

24-
# Emulator Management: create, start & wait
2524
before_script:
25+
# Automatically accept all SDK licences
26+
- echo yes | android update sdk --no-ui --all --filter build-tools-24.0.2,android-24,extra-android-m2repository
27+
# Emulator Management: create, start & wait
2628
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
2729
- emulator -avd test -no-skin -no-audio -no-window &
2830
- android-wait-for-emulator
2931
- adb shell input keyevent 82 &
3032

3133
script:
3234
- android list target
33-
- android update sdk --no-ui --filter build-tools-24.0.2,android-24,extra-android-m2repository
3435
- ./gradlew build connectedCheck
3536
- ./gradlew connectedAndroidTest

0 commit comments

Comments
 (0)