-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
72 lines (70 loc) · 2.5 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
matrix:
include:
# - language: java
# jdk: oraclejdk8
# before_script:
# - cd backend
# before_install:
# - chmod +x backend/mvnw
- language: android
sudo: false
env:
global:
- ANDROID_API_LEVEL=23
- EMULATOR_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=25.0.2
- ADB_INSTALL_TIMEOUT=10
- ANDROID_ABI=armeabi-v7a
before_script:
- cd android_passengers
- android-update-sdk --components=sys-img-$ABI-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}'
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- chmod +x android_passengers/gradlew
android:
components:
- tools
- platform-tools
- android-$ANDROID_API_LEVEL
- android-$EMULATOR_API_LEVEL
- android-28
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- build-tools-28.0.2
- build-tools-28.0.3
- extra-android-m2repository
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
script: ./gradlew clean build test
- language: android
sudo: false
env:
global:
- ANDROID_API_LEVEL=23
- EMULATOR_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=25.0.2
- ADB_INSTALL_TIMEOUT=10
- ANDROID_ABI=armeabi-v7a
before_script:
- cd android_drivers
- android-update-sdk --components=sys-img-$ABI-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}'
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- chmod +x android_drivers/gradlew
android:
components:
- tools
- platform-tools
- android-$ANDROID_API_LEVEL
- android-$EMULATOR_API_LEVEL
- android-28
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- build-tools-28.0.2
- build-tools-28.0.3
- extra-android-m2repository
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
script: ./gradlew clean build test