-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
62 lines (49 loc) · 1.71 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: android
jdk:
- oraclejdk8
sudo: true
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
global:
- TERM=dumb
android:
components:
- platform-tools
- tools
- build-tools-29.0.0
- android-29
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-license-.+'
before_install:
- yes | sdkmanager "platforms;android-30"
- openssl aes-256-cbc -K $encrypted_f41832db9087_key -iv $encrypted_f41832db9087_iv
-in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar SeviBus/
before_script:
script:
./gradlew build
after_success:
deploy:
# - provider: releases
# api_key:
# secure: LLl81X419p3G7rMcNzwxsMzxjwJI1ssQpfm/j4JzsBiwSRyZjoJBxams75eF7h+zUbvEx5xzc7wsdo0uYIwfhqqIC7DvZPMJLH9j/T9XMsLKvT8UKaUbFvXDRpoOqrl8IyxOac0LYlqM3PjIy/NLda4jz1DiuW+nPMp4qTtN6EGq2ZBKc9LHcWk/jr005YgraywnfuByuzjF/tLc96jWmm9WdLVsuMxT2qZoCTCBVN+xQ34M1Q1AxUUvYbtNt/K+HpUaUa8qRUtbIDCSM68PhhqqycmHWzV9YF3EWvTKnRMvyoWpokx6u/0IE2Ogco/J1VVYP0S1meqvQPVCTy1+tFJ//y3PSeLl347gigykOIFsm6Wt2OQROoupGtMHuEPYhsjEVDKoARqQRp69pjlYF2tmS33yTJEkOib2N5zjOwn0syd7kunOUATwHELjhUC2KZn9Z5CQH9OZ2dywN2n6DhN7yViUAvuVdvtV37odRGw4Qk+6bFvEXJpMlWRdjikPirq3poHQI2mMsFZpOl+3VH768iR/SICgQMa9XhSzCcsSLlFQcXQU3xGHporiais7M9MbaHAc/2CmqAigbIQ/+MHMGd1AdITNJLtflNXAogdkVlH7Iev88ZurbIkQClH1KM273l3yJn/SzkAxvW1R8m91sScrXl2UK/SRAINwwQI=
# file_glob: true
# file:
# - SeviBus/build/outputs/apk/SeviBus-*release.apk
# skip_cleanup: true
# on:
# tags: true
- provider: script
script:
./gradlew publishApkSevillaRelease
skip_cleanup: true
on:
tags: true