This repository has been archived by the owner on Nov 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
/
.travis.yml
37 lines (37 loc) · 1.66 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
language: android
dist: trusty
android:
components:
- platform-tools
- tools
- build-tools-29.0.0
- android-29
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19
jdk:
- oraclejdk8
before_install:
- yes | sdkmanager "platforms;android-28"
script:
- '[[ "${TRAVIS_PULL_REQUEST}" == "false" ]] && ./gradlew assembleRelease || ./gradlew assembleDebug'
before_deploy:
- '[[ "${TRAVIS_PULL_REQUEST}" == "false" ]] && mv app/build/outputs/apk/release/app-release.apk app/build/outputs/apk/release/MinMinGuard.apk'
deploy:
provider: releases
api_key:
secure: SyXfTosXZAJbm3lX1ZTJLlsPwWpf3GVUqYS5PTpjwp0wSKd5/eE4+/nDPNm0hmzjZ49ur8Z0ys3vHV9a4mSaawkWrHuxQAsbEut4AdOduicnSHyQgnlnFuMkpdAdSU4Rfw83RuvH7j4R8SKhwemI1xIHAOdAfA8icqAtLR/m+dkPkjfVPMyL5LBm8QsAgbUBhlZTFDoAkTfPP9qfW31HQvVLiK6w2GYVYcDfi+dAFf5zt2CtQ/b1f5RPpu1FeQZpptqhtSuh/pYE2ux6vLWOXSsZP14OKZxhA9Xu4xIAV/8MTF5lLJUP8VKBUgz3G2SZIbEf4YtLCKQPFn8fy8KAP/TFe83c6poTnqFxoZUuHF0os+dC+/xIyMVlvi2gUWNsM6D4I0fjDntv+c4OxPyTqqtIIfZUXMbLfofzMY5XXQyBRKZAFcir+HR396J7OCKPX8QqBIQV8zpgXEmhufUwPSwDQkcW3muss9cunAuThecc12oaaqrNbqay1gF55ykbZjL2OgREXda8uVZrGr8oy4+Pdn63Ehr1tBOhd2hfuVMfP8W81LBHaeGVbRqrnEAGTx6sm647103XyYDufD6g9VHxHhrsNZCaHlT/wYGD2TwYP5brJKW5LwGduC+qdgXUyzSWAFkLedxbSlWR6oVdduCEiuR7XVdzAegIn0hMwsk=
file: app/build/outputs/apk/release/MinMinGuard.apk
skip_cleanup: true
on:
tags: true
repo: chiehmin/MinMinGuard
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