forked from jczh98/Meow
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
41 lines (41 loc) · 1000 Bytes
/
.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
language: android
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- android-27
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
- extra-android-m2repository
- extra-android-support
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
before_install:
- openssl aes-256-cbc -K $encrypted_ce6de0293363_key -iv $encrypted_ce6de0293363_iv
-in .travis/secrets.tar.enc -out .travis/secrets.tar -d
- tar xvf .travis/secrets.tar
- chmod +x gradlew
script:
- "chmod +x .travis/build.sh"
- ".travis/build.sh"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
deploy:
provider: releases
api_key: "${GITHUB_TOKEN}"
file: meow-v*.apk
file_glob: true
skip_cleanup: true
on:
tags: true