-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (35 loc) · 2.48 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
language: android
jdk: oraclejdk8
android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
branches:
only:
- "master"
before_install:
- chmod +x gradlew
- chmod -R +x scripts
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_971da18e86ec_key -iv $encrypted_971da18e86ec_iv -in secrets.tar.enc -out secrets.tar -d; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then tar --strip-components=1 -xvf secrets.tar; fi'
- ls -la
- yes | sdkmanager --update
script: ./scripts/play-publish-if-not-pr.sh
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
env:
global:
- secure: "rqWautFXqQjEFiBUj9BFoQy2GFoNK8A/ESyVE8Hc5Fxa3uuCKD7rJOF42ifUkxQxh0VIQDJIMtRVMBeqNJw9KSrfEt2oB9onnJy9JlrKzPvW8IeO8DxUSPMzQlTmHW8oJmjq/OtZa95+uiwXm5c9OQ0Rp3yPc4WnsCSN8fxPZOL/JDOoH8K8sY5ThULp2M7xFDaY0yZZbjwgy9OCEXrkMVfFFqY5yIbkuzGFIKnEzmG6yEtvXrQ2QiPzGRhpeoxWbNi3wOy43syndgU1bQcZZ2UvcYrPB/yQC4x2nhonY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