-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
35 lines (27 loc) · 875 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
language: android
jdk: oraclejdk7
env:
- TERM=dumb
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-21.1.1
- platform-tools
- tools
before_script:
# Workaround to provide necessary updated android tools
#- echo yes | android update sdk --no-ui --all --filter platform-tools,tools
#- echo yes | android update sdk --no-ui --all --filter build-tools-20.0.0
#- echo yes | android update sdk --no-ui --all --filter android-20
# Create and start emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &
install:
# Prevent `gradle assemble` from being invoked by overriding with no-op
- true
script:
- TERM=dumb ./Scripts/run-tests-travis.sh