Skip to content

Commit d0b76a4

Browse files
updating sdk before running tests #travis
1 parent 5361227 commit d0b76a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runTests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# update android sdk
4+
android update sdk --no-ui --force
5+
36
# x86 emulator
47
echo no | android create avd -c 50M --force -n testx86 -t android-16 --abi x86
58
emulator -ports 5554,5555 -partition-size 256 -avd testx86 -no-skin -no-boot-anim -no-audio -no-window &
@@ -13,6 +16,5 @@ PID_EMU2=$!
1316
./wait_for_emulator emulator-5556
1417

1518
# Running Tests
16-
adb -s emulator-5554 logcat &
1719
./gradlew --info build connectedCheck || exit 1
1820
kill -9 $PID_EMU1 $PID_EMU2

0 commit comments

Comments
 (0)