-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
32 lines (32 loc) · 973 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
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=25
- ANDROID_BUILD_TOOLS_VERSION=25.0.2
android:
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
components:
- tools
- platform-tools
# The BuildTools version used by your project
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
# The SDK version used to compile your project
- android-$ANDROID_API_LEVEL
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-$ANDROID_API_LEVEL
before_script:
# Prepare pre-accepted licenses to not be promted at installation
# - mkdir -p "$ANDROID_HOME/licenses"
# - cp ./google-licenses/* "$ANDROID_HOME/licenses/"
before_install:
- yes | sdkmanager "platforms;android-25"
- yes | sdkmanager "build-tools;25.0.3"
script:
- ./gradlew build check