Skip to content

Commit 34af42e

Browse files
Updated travis, trying to test build on x86 and armv7
1 parent 200f91b commit 34af42e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.travis.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ android:
1111
- android-16
1212

1313
- sys-img-x86-android-16
14+
- sys-img-armeabi-v7a-android-16
15+
1416
before_install:
1517
- echo no | android create avd -c 50M --force -n testx86 -t android-16 --abi x86
1618
- emulator -avd testx86 -no-skin -no-audio -no-window &
19+
- EMULATOR_PID=$!
1720

1821
before_script:
1922
# Make sure the emulator has started before running tests
@@ -22,3 +25,10 @@ before_script:
2225

2326
script:
2427
- ./gradlew --info build connectedAndroidTest
28+
# Killing previous emulator and waiting puttig it to sleep for 10 seconds
29+
- kill -9 $EMULATOR_PID && sleep 10
30+
- echo no | android create avd -c 50M --force -n testarm -t android-16 --abi armeabi-v7a
31+
- emulator -avd testarm -no-skin -no-audio -no-window &
32+
- EMULATOR_PID=$!
33+
- android-wait-for-emulator
34+
- ./gradlew -- build build connectedAndroidTest

0 commit comments

Comments
 (0)