-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
38 lines (38 loc) · 1.63 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
language: android
jdk: oraclejdk8
sudo: false
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.2
- android-25
- sys-img-armeabi-v7a-android-22
- extra-android-m2repository
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
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"
after_success:
- sh set_tags.sh
script:
- bash ./gradlew assembleDebug
deploy:
provider: releases
api_key:
secure: jx+Cqnmz9sqNesZrjs2e+/bH5VTP9NU0K/QJEA4CBqC4ofR7B+SEU+xeKZ+gl8Rw68V5cvxV/ZoTB6ZH4Zh/+sTM0CTzLhmvMyNitIS/PtbnILakYIf/jt0L8TEaS0Q9wLwzChgCXoEyF+hT3fE2kHIwB92pN5MBcpiC/LNrQpctTxbyWjb9fV+JGXXTFfhXqY81M9Od2Y8ipDzn4OFljgoYpMz3QUV/MfeUs6cziXnxwq4TNkFSTZ+j2Xm6VG3zVMP/zbARMvCEYU0DQM6TzSLFRHFfspPpfVE3CdjuRlQJ7mTx+UaukXoOIUuDJwunodEYIOCXzXoMZs3tsnElm1c160yFYfxN7vm/QMQyv2Nm861ojhI28G4RpVyiB0f7RS6AY7l5hxBdKU6NwSMQiAWi4kJwwhqIy+/TmXU5CFkGHhWNMQPqMbdwiJRK8EEchdWYKSeaJFLiZ311dRiLxRXPJxWzz6p9vHQDfYyM0BU5AihzQrLuDSqKoe/uSJWohZb4kCqwZCanyLiD3vw7V6uZSONws6hOouMyhNYcKlZzYG+qZgJTrzE5AeNxt8VaXWae/ombi87w0oGVcuBNdLUnwLIIzNevmn5y5b/HemS9FDHhpGYiMpdHOo/1cr/5nSpUAlKTuuC7l/dWEegZ5PNUu0YAyVnTGBJEycGB6vk=
file_glob: true
skip_cleanup : true
file: "./app/build/outputs/apk/debug/Surakshit*.apk"
on:
repo: ItsForkIT/pdm
branch: PlayStore