Skip to content

Commit 5cd90f0

Browse files
Updated travis to create android emulator with sdcard
1 parent 6905967 commit 5cd90f0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android:
1313
- sys-img-armeabi-v7a-android-16
1414
- sys-img-x86-android-16
1515
before_install:
16-
- echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
16+
- echo no | android create avd -c 50M --force -n test -t android-16 --abi armeabi-v7a
1717
- emulator -avd test -no-skin -no-audio -no-window &
1818
- android-wait-for-emulator
1919
- adb shell input keyevent 82 &

FFmpegAndroid/src/androidTest/java/com/github/hiteshsondhi88/libffmpeg/ShellCommandTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public void run() {
4444

4545
public void testRunWaitFor() throws Exception {
4646
ShellCommand shellCommand = new ShellCommand();
47-
CommandResult commandResult = shellCommand.runWaitFor("logcat -d");
48-
Thread.sleep(2000);
47+
CommandResult commandResult = shellCommand.runWaitFor("ls /sdcard/");
4948
assertNotNull(commandResult);
5049
assertEquals(true, commandResult.success);
5150
assertThat(commandResult.output).isNotEmpty();

0 commit comments

Comments
 (0)