X Tutup
Skip to content

Commit b6ddbb9

Browse files
fixed typo + using everything in script to make it less complicated
1 parent 34af42e commit b6ddbb9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,17 @@ android:
1313
- sys-img-x86-android-16
1414
- sys-img-armeabi-v7a-android-16
1515

16-
before_install:
16+
script:
1717
- echo no | android create avd -c 50M --force -n testx86 -t android-16 --abi x86
1818
- emulator -avd testx86 -no-skin -no-audio -no-window &
1919
- EMULATOR_PID=$!
20-
21-
before_script:
22-
# Make sure the emulator has started before running tests
23-
- android-wait-for-emulator
24-
- adb shell input keyevent 82 &
25-
26-
script:
20+
- android-wait-for-emulator
21+
- adb shell input keyevent 82 &
2722
- ./gradlew --info build connectedAndroidTest
28-
# Killing previous emulator and waiting puttig it to sleep for 10 seconds
2923
- kill -9 $EMULATOR_PID && sleep 10
3024
- echo no | android create avd -c 50M --force -n testarm -t android-16 --abi armeabi-v7a
3125
- emulator -avd testarm -no-skin -no-audio -no-window &
3226
- EMULATOR_PID=$!
3327
- android-wait-for-emulator
34-
- ./gradlew -- build build connectedAndroidTest
28+
- adb shell input keyevent 82 &
29+
- ./gradlew --info build connectedAndroidTest

0 commit comments

Comments
 (0)
X Tutup