Skip to content

Commit f440cbf

Browse files
authored
Update .travis.yml
Just try and use RxJava Android's example config
1 parent 9c247db commit f440cbf

File tree

1 file changed

+9
-41
lines changed

1 file changed

+9
-41
lines changed

.travis.yml

Lines changed: 9 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,10 @@
11
language: android
2-
android:
3-
components:
4-
- platform-tools
5-
- tools
6-
7-
- build-tools-24.0.3
8-
- android-24
9-
10-
- extra-google-m2repository
11-
- extra-android-m2repository
12-
13-
- sys-img-x86-android-24
14-
- sys-img-x86-android-23
15-
- sys-img-x86-android-22
16-
- sys-img-x86-android-21
17-
- sys-img-x86-android-20
18-
- sys-img-x86-android-19
19-
- sys-img-x86-android-18
20-
- sys-img-x86-android-17
21-
- sys-img-x86-android-16
22-
- sys-img-x86-android-15
23-
- sys-img-x86-android-10
24-
25-
jdk:
26-
- oraclejdk8
27-
- oraclejdk7
28-
- openjdk6
29-
- openjdk7
30-
31-
before_cache:
32-
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
33-
cache:
34-
directories:
35-
- $HOME/.gradle/caches/
36-
- $HOME/.gradle/wrapper/
37-
38-
script: ./gradlew testAllModules
39-
40-
branches:
41-
only:
42-
- master
2+
env:
3+
matrix:
4+
- ANDROID_SDKS=android-19,sysimg-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
5+
before_install:
6+
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
7+
- emulator -avd test -no-skin -no-audio -no-window &
8+
before_script:
9+
- ./ci/wait_for_emulator
10+
- adb shell input keyevent 82 &

0 commit comments

Comments
 (0)