This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.73 KB
/
.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
40
41
language: android
jdk: oraclejdk8
os:
- linux
env:
global:
- ANDROID_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=25.2.2
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=8
- secure: eSosqr0tGUpsorFbWn/p264INBGMN6VOYt/jqw2dIGdujck+cO19SoTYwmmebJyPjstGf/PJbUFmWrZUDbGspMmvmza59YicAUg/ALg7MMp1jcrIHwm13xs44dSiJad9fSs0f3qALSmiADWNgYL/ki4wj/VlIAQzd0Azz9nfz+cLQbAmJzsgAlGUQQprq2yMzIECY+/q80nbBLOFeBlNSHKmB//q5uTEjdHJ+BDaoysKx3k2yB67WAjgwFx3bFfCs5rmjtKJeVYFq7lrHslMR9fkHdTr5kdoRo8MMRP/2VW4kFkkQLVthpDkCeQgn7FVxk8lIzJB9ZbXoM6vMtBLwDnnzQwY73XwnttdPAFZo41E/Fo4MczAZCHPrABjiTrEy6wj1fMLQYbsjetJ65XU4873lSkwDHTEHtpx8O7NuAeYuUU5roWEBCAybv+np0uM/bbVf1GAw95gc07pooQglOCAGyReAO5eW+uZcsZtY/kqz3NDSkhqd9SXHtAsWcpE0OycVUFRDTGtXqgLuIQYseAd5+3+trAvld79rFBxPWMhRUQquRleT9K9dsbKKmMiAudDn3ObdUex3QTbsoCaGabivwUx81oDggZ+oxObQ8koG6w6XFGqVAYGmefFecGSVxq4fiEPj6Aa/yA77TwVl+9gLgZUgziN7ykqaqH4zIo=
android:
components:
- tools
- platform-tools
- build-tools-25.0.0
- android-24
- android-25
- extra-android-m2repository
- sys-img-armeabi-v7a-android-24
licenses:
- ".+"
before_script:
- echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
script:
- ./gradlew check
- ./gradlew assembleDebug assembleDebugAndroidTest
- android-wait-for-emulator
- adb shell input keyevent 82 &
- ./gradlew connectedCheck
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
after_success:
- ./gradlew jacocoTestReport adapter:createDebugCoverageReport
- bash <(curl -s https://codecov.io/bash)
# - ./gradlew sonarqube -Dsonar.login=$SONAR_TOKEN -Dsonar.host.url=https://sonarqube.com -Dsonar.branch=$TRAVIS_BRANCH