Skip to content

Commit 4281cd3

Browse files
committed
Attempts to reduce timeout (for Travis-CI)
1 parent c07f924 commit 4281cd3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ addons:
33
apt:
44
packages:
55
- w3m
6+
cache:
7+
directories:
8+
- ${TRAVIS_BUILD_DIR}/gradle/caches/
9+
- ${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/
610
env:
711
global:
812
- ANDROID_TARGET=android-22
913
- ANDROID_ABI=armeabi-v7a
14+
- ADB_INSTALL_TIMEOUT=12 # in minutes
1015
android:
1116
components:
1217
- platform-tools
@@ -19,10 +24,10 @@ android:
1924
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
2025
before_script:
2126
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
22-
- emulator -avd test -no-audio -no-window &
27+
- emulator -avd test -no-audio -no-window -no-boot-anim &
2328
- android-wait-for-emulator
2429
script:
25-
- ./gradlew check connectedCheck jacocoTestReport -stacktrace
30+
- ./gradlew clean check connectedCheck jacocoTestReport --stacktrace
2631
after_success:
2732
- bash <(curl -s https://codecov.io/bash)
2833
after_failure:

0 commit comments

Comments
 (0)