-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (36 loc) · 857 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
language: android
sudo: true
env:
global:
- COMPILE_SDK_VERSION=28
- BUILD_TOOLS_VERSION=28.0.3
android:
components:
- tools
- platform-tools
- tools
- build-tools-${BUILD_TOOLS_VERSION}
- android-${COMPILE_SDK_VERSION}
- extra-android-m2repository
- android-28
branches:
only:
- master
before_install:
- openssl aes-256-cbc -K $encrypted_8f253f28794a_key -iv $encrypted_8f253f28794a_iv
-in simrat39.jks.enc -out simrat39.jks -d
- chmod +x gradlew
script: "./gradlew assembleDebug"
install:
- sdkmanager --list || true
- echo y | sdkmanager "platforms;android-27"
- avdmanager --list || true
before_deploy:
- chmod +x scripts/changelog.sh
- cp app/build/outputs/apk/debug/*.apk SimsIconPack-$TRAVIS_BUILD_NUMBER.apk
deploy:
- provider: script
skip_cleanup: true
script: sh scripts/deploy-telegram.sh
on:
branch: master