-
Notifications
You must be signed in to change notification settings - Fork 288
/
Copy path.travis.yml
39 lines (31 loc) · 912 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
39
language: android
jdk: oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-22 ANDROID_ABI=armeabi-v7a
notifications:
email:
android:
components:
- tools # to get the new `repository-11.xml`
- tools # to install Android SDK tools 25.1.x (x = 6 right now)
- platform-tools
- build-tools-26.0.2
- android-22
- android-26
- extra-android-m2repository
- sys-img-armeabi-v7a-android-22
before_script:
- 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:
- echo "Travis branch is $TRAVIS_BRANCH"
- echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST"
- ./gradlew connectedAndroidTest coveralls
before_install:
- pip install --user codecov
after_success:
- codecov