-
Notifications
You must be signed in to change notification settings - Fork 236
/
.travis.yml
52 lines (42 loc) · 1.06 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
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.3
- android-25
- extra-android-m2repository
- extra-android-suppor
- add-on
- extra
licenses:
- 'android-sdk-license-.+'
- 'android-sdk-preview-license-.+'
- 'google-gdk-license-.+'
- 'intel-android-extra-license-.+'
- 'google-gdk-license-.+'
- 'android-googletv-license-.+'
notifications:
email:
cache: false
sudo: false
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- sdkmanager tools
- sdkmanager --update
install:
# Ensure Gradle wrapper is executable, download wrapper and show version
- chmod +x ./gradlew; ls -l gradlew; ./gradlew wrapper -v
# Download and show android dependencies
- ./gradlew androidDependencies
script:
- ./gradlew clean build lint assemble
cache:
directories:
- $HOME/.m2
- $HOME/.gradle