-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (39 loc) · 2.78 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
language: android
jdk:
- oraclejdk8
before_install:
# Install SDK license so Android Gradle plugin can install deps.
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- echo -e "\n33b6a2b64607f11b759f320ef9dff4ae5c47d97a" > "$ANDROID_HOME/licenses/google-gdk-license"
- echo -e "\ne9acab5b5fbb560a72cfaecce8946896ff6aab9d" > "$ANDROID_HOME/licenses/mips-android-sysimage-license"
- echo -e "\nd975f751698a77b662f1254ddbeed3901e976f5a" > "$ANDROID_HOME/licenses/intel-android-extra-license"
# Install the rest of tools (e.g., avdmanager)
- sdkmanager tools
android:
components:
- tools
- platform-tools
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
sudo: true
#after_success:
# - .buildscript/deploy_snapshot.sh
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
env:
global:
- secure: cUE1G8LaGoUZg7+Xk9jX+oKqtR6iYgpv8RQ/7t32i18kQgswQffg6GuNzUjddf9gpmAuF7NDdxiKXUDZrAJjSmX74mureaUiR4qFznPXe5OIfKI6ZQIyzSNJIoLVfSE5GdxuResj7lr++fjrWeSIcsXZaZ29BsrLaTCvO+Rib+xyBsj7glaF4wKgcX9K1kMuLJdrcGTPCuIOdZ/2sdgLUP5hwZddjUGQmAVIfe2A2H6pssqyZf+prQGi4EcBRvy0hS7ols9Mzd7QPdpog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VAEjFUIhtg1LR7loE=
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache