-
Notifications
You must be signed in to change notification settings - Fork 192
/
Copy path.travis.yml
32 lines (27 loc) · 916 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
sudo: false
language: android
jdk:
# https://docs.travis-ci.com/user/languages/java/#testing-against-multiple-jdks
- openjdk8
- oraclejdk8
- oraclejdk11
- openjdk11
# http://docs.travis-ci.com/user/languages/android/
android:
components:
- build-tools-29.0.2
- android-29
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"
before_script:
- chmod +x gradlew
# - echo no | android create avd --force -n test -t android-10 --abi armeabi
# - emulator -avd test -no-skin -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
# Currently connectedCheck fails, so don't run unit test on Emulator for now. Issue:
# com.android.builder.testing.ConnectedDevice > hasTests[test(AVD) - 2.3.3] FAILED
# No tests found.
script:
- TERM=dumb ./gradlew check