forked from greenrobot/greenDAO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 731 Bytes
/
Copy path.travis.yml
File metadata and controls
26 lines (26 loc) · 731 Bytes
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
language: android
# Use the Travis Container-Based Infrastructure
sudo: false
jdk:
- oraclejdk7
env:
global:
# increase adb timeout (2 minutes by default)
- ADB_INSTALL_TIMEOUT=8
matrix:
- ANDROID_SDKS=android-23,sysimg-23 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-23.0.1
- android-23
- extra-android-m2repository
before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
before_script:
- chmod +x gradlew
- chmod +x ./ci/wait_for_emulator
- ./ci/wait_for_emulator
- adb shell input keyevent 82 &
script:
- TERM=dumb ./gradlew connectedCheck