forked from bugsnag/bugsnag-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 855 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
language: android
android:
components:
- tools
- platform-tools
- build-tools-23.0.1
- build-tools-25.0.2
- android-19
- android-21
- android-23
- android-25
- extra-android-m2repository
env:
matrix:
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
global:
- ADB_INSTALL_TIMEOUT=5 # increase from default of 2 mins
before_script:
# Create and start emulator
- android list targets
- jdk_switcher use oraclejdk8
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- while [[ `adb shell pm path android` == 'Error'* ]]; do sleep 2; done
- adb shell input keyevent 82 &
script: ./gradlew lint connectedCheck
sudo: false