-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.56 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
language: android
python:
- 3.7
dist: xenial
sudo: required
jdk:
- oraclejdk8
android:
components:
- tools
- android-27
- android-26
- build-tools-28.0.3
- platform-tools
before_script:
- touch local.properties
- type -t deactivate && deactivate || true
- export PATH=/opt/python/3.7.1/bin:$PATH
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "${TRAVIS_BUILD_DIR}/gradle/caches/"
- "${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/"
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
script:
- cp -v sample_config_files/sample_keystore.properties keystore.properties
- keytool -genkeypair -dname "cn=TravisCI, ou=TravisCI, o=Sun, c=US" -alias business
-keypass kpi135 -keystore android.keystore -storepass ab987c -validity 20000
after_success:
- bash scripts/update_apk.sh
branches:
only:
- master
- development
env:
global:
secure: oN3Qv2o4/6+ynHSEMSrRd2FHbVHCt2V6r9guE+bdvfwzk7EtkXAeSoi2aYscrkwhw+dMj7y+ZFYofdZHIVJarX4ehswVmhhL7fjx/LcBqglHeNtaBzQqtAviPHeOt9C0016QncFJMTaa7J+Hch7tXhqT2wz8iv2NRzb9VBa2W/PANdwpf6DmrBnlpIiwJR2OQDFKsWOiY7/AeWjDTSoIfHnd92OkidV1TkdzwqZeQCfXCLk6SoLOwPn2uQR6QmXginPo29cX9lzpUiPY+hyk8bLoz9O+D+exfMthyt2K92BfiiXMsrboPjjS8PioOH6yDFJ8t0aZQYz87XPUn5TFGlEvODijhGC2zX/zX5qtvLxASxfeTin10N7P44NxhSFQ0fUY7oyeSBfb6uQU8CjKV9QNZn//THqqVmCn2ZPfLModfgiznseXu1X6ysXoAhY5FmLQRakyANrwoEyRnau/8d6U3Hk+EEYVprPwzGkf7iPonYNRqr1BdwfQXVAjjTQoagwBE+hkg9aF/0OWxNkoy+kY2K1/Md2260KfwlfpvfSQROs5niOa1CWAwMuh6LeoPIIiKFVswBHrqPi/Dm40oXCNsZvX7hJF/UDrrD2E6uCvL1RsYYzxdtZa4az+/2W+E5Yo+KhcqVgiFC7s7nldPnpJuct0jqLV5KoMw0QcGWA=