-
Notifications
You must be signed in to change notification settings - Fork 76
/
.travis.yml
47 lines (41 loc) · 1.29 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
language: android
jdk:
- oraclejdk8
sudo: false
env:
matrix:
- TEST=unit
global:
- ADB_INSTALL_TIMEOUT=10
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
android:
components:
- build-tools-26.0.2
- android-26
- sys-img-armeabi-v7a-android-26
- add-on
- extra
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_script:
- android list targets
- ./gradlew clean
- ./create_svd.sh
before_install:
- yes | sdkmanager "platforms;android-28"
- chmod +x gradlew
- chmod +x create_svd.sh
- chmod +x build.sh
- echo yes | android update sdk --no-ui --force --all --filter platform-tools > /dev/null
- echo yes | android update sdk --no-ui --force --all --filter android-26 > /dev/null
- echo yes | android update sdk --no-ui --force --all --filter sysimg-18 > /dev/null
- echo yes | android update sdk --no-ui --force --all --filter extra-android-support > /dev/null
- echo yes | android update sdk --no-ui --force --all --filter extra-android-m2repository > /dev/null
- echo yes | android update sdk --no-ui --force --all --filter build-tools-26.0.2 > /dev/null
script:
- ./build.sh