-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
50 lines (43 loc) · 3.8 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
language: android
android:
components:
- tools
- platform-tools
- android-28
- build-tools-28.0.3
- extra
jdk: oraclejdk8
notifications:
email: false
before_install:
- touch local.properties
- source .travis/env.sh
- openssl aes-256-cbc -K $encrypted_d6b6b9994385_key -iv $encrypted_d6b6b9994385_iv -in release.jks.enc -out release.jks -d
script:
- ./gradlew clean assembleDebug
- cp app/build/outputs/apk/debug/MoeGallery-$GIT_TAG-debug.apk $HOME
- ./gradlew clean assembleRelease
- cp app/build/outputs/apk/release/MoeGallery-$GIT_TAG-release.apk $HOME
- md5sum "$HOME/MoeGallery-$GIT_TAG-debug.apk"
- md5sum "$HOME/MoeGallery-$GIT_TAG-release.apk"
- sha1sum "$HOME/MoeGallery-$GIT_TAG-debug.apk"
- sha1sum "$HOME/MoeGallery-$GIT_TAG-release.apk"
deploy:
provider: releases
api-key: $GITHUB_TOKEN
file:
- "$HOME/MoeGallery-$GIT_TAG-debug.apk"
- "$HOME/MoeGallery-$GIT_TAG-release.apk"
skip_cleanup: true
on:
tags: true
env:
global:
# GITHUB_TOKEN
- secure: "CeaP5EnMWLtRxRn1XDoEAZeIGzOenznj42oXVJdubbChX+65Cl1TSuTgRs/FecrNBWOrobDBSwfPEKbk3lGVDeW5h5cpiLPB5kuEn/1+HvLfhMvnMIYBl5vv51U0sYS6TdVBSuFJbt2f6mrUZON3hCC7z/NQ7vfpQv0mJxPh6BAVLIPHQOMgSiQQSYONhnd3XzgqriJIBBi96kuskHqllVEZi02iAxUhjQEmzxEJ8Vnve7ZnUMF89Jsvc9VGGljkrqKP2H/qe9T1bKparI6WRKaX7kxdMyLjOcAxHOHwNZKqNhj/jVQpTe3XWo8vxaRy7wBd7w4dake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