-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
39 lines (31 loc) · 1.05 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
language: android
sudo: required
jdk: oraclejdk8
env:
global:
- secure: gNr1SEJoYKRxBap0ihqollmQiG9iTx3L5i5w7AW6fFdgv5JN8srAVaoyQZScuFsd9H2murqTNmVuYLbL3M0YtegOF4h6EMicAKemtNAdAmLMYKG1QCTVkKCM8fdI6tpfvVp7nq8EdFPWDAUruJnEnC8zfrZ+4TdRehucMzjV74c=
- secure: kbMhn10M49EHvopZwQ2H+DuNZGp6gRhjJsgta1XQ/2kBOK7iSJoPTpklgAdIQJ/vNgYTgagtRyK/3AqcE8SV7iyyTWIXCIF/u5Jz/57TTeWhYJRUCncu0P9fLim+wPzst52FWLOvSXT/9NADCygQPtRioKztqswaQtzFExDLM9o=
android:
components:
- tools
- platform-tools
before_install:
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
- sdkmanager "tools" > /dev/null
- sdkmanager "platform-tools" > /dev/null
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
script: "./gradlew clean build"
after_success:
- .utility/initiate-publish.sh
git:
depth: 9999999