Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 294ba4c

Browse files
authored
Travis: use Precise infrastructure and update Build Matrix (#179)
* Travis: use Precise container-based infrastructure * Travis: Explicitely require android-15 * Travis: Update build matrix * Travis: Explicitely require android-23 * Travis: Require current target and relevant sys-img * Travis: Require platform-tools * Travis: [debug] list targets, reference android-24 first to investigate * Travis: rollback matrix, list sdk components, add second tools in components * Travis: remove "-no-audio" parameter from emulator call * Travis: [debug] try explicitly listing *android-* rather than using variables * Travis: Use GAPI image instead of missing sys-img-armeabi-v7-android-23 * Travis: Use ABI default/armeabi-v7a for API 23 Gapps * Travis: Use android-23 with ABI=default/armeabi-v7a * Travis: Specify armeabi-v7a for all system images * Travis: Target android-17 instead of 23 until #188 resolves * Travis: Put ANDROID_ABI back in global vars [ci skip] * Travis: Stop listing available sdk components [ci skip] * Travis: Remove redundant SDK update
1 parent b89c6fb commit 294ba4c

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.travis.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
branches:
22
only:
33
- master
4-
sudo: false # Explicitely choose container-based infrastructure, see https://docs.travis-ci.com/user/ci-environment/
4+
5+
sudo: required
6+
dist: precise # require Precise infrastructure: fully virtualized, 7.5GB RAM
7+
58
language: android
69
jdk:
710
- oraclejdk8
@@ -11,20 +14,31 @@ env:
1114
- secure: HBdvSvplPEJWEu7aij7cA+ZiQt2qmb9+Q8WsUGOJJ1uYIOt/MVHSo0bYYLfk90eFlnJecN+oBi92LCM9PUT3mKIHm9apRsK9os+W/6wIezD+rKVYPfOLZ4uINaFRDjXUJqKB46fzVR54vc4N2QO0+spn7Sv7sXaytYEPwrO6tmo=
1215
- ANDROID_ABI=armeabi-v7a
1316
matrix:
14-
- ANDROID_TARGET=android-15
1517
- ANDROID_TARGET=android-16
18+
- ANDROID_TARGET=android-17
1619
- ANDROID_TARGET=android-19
17-
- ANDROID_TARGET=android-21
20+
- ANDROID_TARGET=android-22
1821
- ANDROID_TARGET=android-24
1922
matrix:
2023
fast_finish: true
2124
android:
2225
components:
2326
- tools
27+
- platform-tools
28+
- tools # Fix SDK Tools https://github.com/travis-ci/travis-ci/issues/6122
2429
- build-tools-24.0.3
30+
- android-16
31+
- android-17
32+
- android-19
33+
- android-22
2534
- android-24
2635
- extra-android-support
2736
- extra-android-m2repository
37+
- sys-img-armeabi-v7a-android-16
38+
- sys-img-armeabi-v7a-android-17
39+
- sys-img-armeabi-v7a-android-19
40+
- sys-img-armeabi-v7a-android-22
41+
- sys-img-armeabi-v7a-android-24
2842
cache:
2943
directories:
3044
- $HOME/.gradle/caches/
@@ -34,12 +48,10 @@ cache:
3448
before_script:
3549
# Avoid useless reupload of cache after every build, see https://docs.travis-ci.com/user/languages/android
3650
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
37-
# Update Android SDK, accepting all licences with expect
38-
- bash update_sdk.sh
3951
# Create Android Virtual Device with current config, saying no to custom build
4052
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
4153
# Run emulator and wait until it is ready, then send KEYCODE_MENU to unlock the phone
42-
- emulator -avd test -no-skin -no-audio -no-window &
54+
- emulator -avd test -no-skin -no-window &
4355
- android-wait-for-emulator
4456
- adb shell input keyevent 82 &
4557
script:

0 commit comments

Comments
 (0)