-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
37 lines (37 loc) · 1.6 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
sudo: false
language: android
android:
components:
- tools
- platform-tools
- build-tools-27.0.3
- android-27
- add-on
- extra
licenses:
- 'android-sdk-license-.+'
jdk:
- oraclejdk8
script: "./gradlew build"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: X8a1naDxhkfD5LSxZ94VhF0JccGCrJrv/YsffHyc9bdLOsw2cusVlsol4fcE4P++JFNpCjHJwmVNnp6iw1m2+CjK4nGRtWb732GyQCnA+ndSHwXoLbnWJrxJWYKSOBNHcy9iVM/3jXQ9p7nOArRvn/W34UpJG0X/HyZKs3glWiq9+yXpJJwRkED98O/+au17tv/W+9+rRghtU/pochW/tiwo9tAL71W9OEccCPZXq8LNTZ0ZfR7HlDbiEMhf1JQa8ATtVbCcuhG80YeR15adkTZL8bupFo9hh/wwNRg4kYSINNUtYnkLRHEXrcFA+PdnjW8U7+xK6Gt1cIAAEHKdtzD+At2cn6bjmWpHkTPvh85Y9qqiyUEDSCfrU7tEoCNfA5owzGeEHWfPxLjwNXegxW0VM9aJ2mg73KV3OWKopLVPacMc/wWAG2yQdKSCgpKzicj9Mwag3B+kKMPAmmwvPYXRVYPK5G2CqxX+l4LreOEQBgJW3O8RxzET/7hspL10sbuuGCyDPR3Ye4cobZUa4BLXeEs0pH6vHSKF6HfDHKWMZ+lP4GvOugZad4o2rQBO4mf5CBGa/FQxS2+ZjarZfl1XWtpnN4tQAaoSUweQPmrWfIVF00otyz5tnzd4nZi5+xXPv5RDMCM7gE3C/n1vxPR7PE7mi71AQxuX4NcSx+M=
file: "./app/build/outputs/apk/release/app-release.apk"
on:
repo: Grace5921/OtaUpdater
before_install:
- yes | sdkmanager "platforms;android-27"
- rm -fr $HOME/android-ndk-r16b
- curl -L http://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -O
- unzip -oq android-ndk-r16b-linux-x86_64.zip
- rm android-ndk-r16b-linux-x86_64.zip
- export ANDROID_NDK_HOME=$HOME/android-ndk-r16b