-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (27 loc) · 719 Bytes
/
.travis.yml
File metadata and controls
32 lines (27 loc) · 719 Bytes
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
dist: trusty
jdk: oraclejdk8
sudo: false
env:
global:
- ANDROID_API_LEVEL=30
- ANDROID_BUILD_TOOLS_VERSION=30.0.0
- TRAVIS_SECURE_ENV_VARS=true
before_install:
- chmod +x gradlew
- mkdir "$ANDROID_HOME/licenses" || true
# Hack to accept Android licenses
- yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL"
android:
components:
# The BuildTools version used by your project
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
# The SDK version used to compile your project
- android-$ANDROID_API_LEVEL
- extra-android-m2repository
- extra-google-android-support
script:
- ./gradlew clean
- ./gradlew assembleRelease