-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
45 lines (45 loc) · 1.75 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
43
44
45
language: android
dist: trusty
sudo: required
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=29.0.2
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- platform-tools
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
before_install:
- openssl aes-256-cbc -K $encrypted_70420890a0c4_key -iv $encrypted_70420890a0c4_iv
-in keys.jks.enc -out keys.jks -d
- yes | sdkmanager "platforms;android-29"
- yes | sdkmanager "build-tools;29.0.2"
before_script:
- chmod +x gradlew
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.android/build-cache"
script:
- "./gradlew clean"
- "./gradlew assembleDebug --stacktrace"
- "./gradlew assembleRelease --stacktrace"
deploy:
provider: releases
api_key:
secure: zRT2rWrlBiInQvlQI/204kTvF/TUPa/6+ua+b4qmaALo5YdKplsMoB1FI1sVar0LMo+nsCZbSHWeFtgAL1gngyOutbBlhcj07ZZNLELQdpgUwNpvyi6fidSdHNaURotBa50BBO2rkeuPiU0ZXWPUH+Nn3LZTB12p+ouLHxR1jkyQlNer+B3doYqye2yK3bGcEodubdiNKIIfNyGlmPjKjfsZmyrm8ASaUp1kVEV+36vyzyABP9AzChsVrIuP1HY7xRhchLVjJXDWM13QyUmmA2t1c7AuLYtuI/6FHcOH8g7kkskfebrjAmq1PhKHEe1UMtiKfqo9ZAMbdBJnuA5WkSivriE/N+kcnfrntVOoPGbHLFi6BRhDp7O6UpyTWII54hhDi6r3G0lrE5OhsjsN6cXY4bcGIx86OddTNfs5soFqxvqDcc03R53WAMKE7PX1NTOnarGlGquXqbYZqtMeGI1xbB2MqY3aZeQIdXb4tLUrbqv3ulfpUJv4K/m4UKuv8OikETamCEYrLHLLNZilST4ACQc/4OZ+zwe/9WDJcf9+OO2tiifHZS1bt0gfYv3aDRKruxrxsX3Dcw/m8qU3BM2i8i3AxKWFm3AJExin1YmimAcgnPDT6VClB9jp6Z1Cj+RZ56k4rpRRSPhbxeIsblYHs3Afro0ItZcLlvPPN4E=
file:
- app/build/outputs/apk/release/app-release.apk
- app/build/outputs/apk/debug/app-debug.apk
skip_cleanup: true
on:
repo: SkywalkerDarren/SimpleAccounting
tags: true