-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
35 lines (30 loc) · 981 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
33
34
35
language: android
sudo: required
jdk: oraclejdk8
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- tools
- tools # Running this twice get's the latest build tools (https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI)
- platform-tools
# The BuildTools version used by your project
- build-tools-29.0.2
# The SDK version used to compile your project
- android-29
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-preview-license-.+'
- 'google-gdk-license-.+'
before_script:
- touch local.properties
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
script:
- chmod +x gradlew
- "./gradlew wrapper --gradle-version 5.5.1"
- "./gradlew clean test build"