-
Notifications
You must be signed in to change notification settings - Fork 201
/
.travis.yml
69 lines (60 loc) · 6.79 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
63
64
65
66
67
68
69
language: android
android:
components:
- tools
- platform-tools
- android-29
- build-tools-29.0.2
- android-28
- build-tools-28.0.3
- extra
jdk: oraclejdk8
git:
depth: 9999999
notifications:
email: false
before_install:
- touch local.properties
- source .travis/env.sh
- openssl aes-256-cbc -K $encrypted_75846693d905_key -iv $encrypted_75846693d905_iv -in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
script:
- ./gradlew clean assembleDebug
- find -name \*.apk -exec echo cp {} $HOME \; -exec cp {} $HOME \;
- ./gradlew clean assembleRelease
- find -name \*.apk -exec echo cp {} $HOME \; -exec cp {} $HOME \;
- echo ------ md5sum ------
- find $HOME -maxdepth 1 -name \*.apk -exec md5sum {} \;
- echo ------ sha1sum ------
- find $HOME -maxdepth 1 -name \*.apk -exec sha1sum {} \;
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file:
- "$HOME/*.apk"
skip_cleanup: true
on:
tags: true
after_deploy:
- .travis/changelog.sh > changelog
- cat changelog
- ruby .travis/github_release.rb -s $GITHUB_TOKEN -r $TRAVIS_REPO_SLUG -c changelog -t $TRAVIS_TAG
env:
global:
# GITHUB_TOKEN
- secure: "c+BQqfszhshY4z3epTJ7UrtZJrAXBE8MfTAEbUdyABd8dIVt2s6UtiLt76n3yGiPbncT3CyLsU/y81qJjRGWgCNd8ERP6LjNMpWqkLPOpg3daoONgEJm3mSIF/RIEQmV4EnH6shYmJp8bLjq6n36CcnVDNfPQfX622tLgtZaSGKKdhWjs6Ql+SXgNzro2ULY1D/xHCrr53RjRDIufs4EtGlGIYGbIwROfvu2yZP2pszpPzhfciKI6TRySUGQ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