-
Notifications
You must be signed in to change notification settings - Fork 224
/
.travis.yml
38 lines (33 loc) · 846 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: android
sudo: false
cache: false
jdk: oraclejdk7
env:
global:
- ANDROID_TARGET=android-23
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default)
- ACDISPLAY_USE_TEST_KEY=true
android:
components:
- platform-tools
- tools
- build-tools-23.0.2
- android-23
# Extras
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
# Emulator
- sys-img-armeabi-v7a-android-23
licenses:
- '.+'
before_script:
# Move to project folder before build
- cd project/
# Run emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script: ./gradlew connectedCheck