-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (31 loc) · 958 Bytes
/
.travis.yml
File metadata and controls
39 lines (31 loc) · 958 Bytes
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
language: android
jdk: openjdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.2
- android-28
- extra-android-m2repository
- extra-google-m2repository
before_install:
- openssl aes-256-cbc -K $encrypted_a9b8bf4fc451_key -iv $encrypted_a9b8bf4fc451_iv
-in neerc.properties.enc -out neerc.properties -d
- openssl aes-256-cbc -K $encrypted_a9b8bf4fc451_key -iv $encrypted_a9b8bf4fc451_iv
-in app/src/main/assets/chat.bks.enc -out app/src/main/assets/chat.bks -d
- yes | sdkmanager "platforms;android-27"
addons:
ssh_known_hosts: neerc.ifmo.ru
before_deploy:
- openssl aes-256-cbc -K $encrypted_a9b8bf4fc451_key -iv $encrypted_a9b8bf4fc451_iv
-in scripts/deploy_key.enc -out /tmp/deploy_key -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_key
- ssh-add /tmp/deploy_key
deploy:
provider: script
skip_cleanup: true
script: scripts/deploy.sh
on:
tags: true