This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (44 loc) · 1.57 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: android
jdk: oraclejdk8
notifications:
email: false
android:
components:
#Tools
- tools
- platform-tools
- build-tools-22.0.1
# SDK version
- android-22
#Extras
- extra-google-m2repository
- extra-android-m2repository
- extra-android-support
#Emulators
- sys-img-armeabi-v7a-android-22
# Other stuff can be added here, see travis-ci.org for details
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gd-license-.+'
before_install:
- cd MainApplication
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
#install:
# - echo y | android update sdk -u -a -t tools
# - echo y | android update sdk -u -a -t platform-tools
# - echo y | android update sdk -u -a -t build-tools-25.0.2
# - echo y | android update sdk -u -a -t android-25
# - echo y | android update sdk -u -a -t extra-google-m2repository
# - echo y | android update sdk -u -a -t extra-android-m2repository
# - echo y | android update sdk -u -a -t extra-android-support
script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- ./gradlew connectedCheck
- ./gradlew jacocoTestReport
- cd app
- bash <(curl -s http://codecov.io/bash) -t a9866b06-382d-4cc3-b0e6-c7169409e2cb