-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
38 lines (38 loc) · 1.18 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
branches:
only:
- master
- develop
language: android
before_install:
- openssl aes-256-cbc -K $encrypted_e3a6b5855819_key -iv $encrypted_e3a6b5855819_iv
-in google-services.json.enc -out ./android/app/google-services.json -d
- openssl aes-256-cbc -K $encrypted_52967910be36_key -iv $encrypted_52967910be36_iv
-in release.keystore.enc -out ./android/app/release.keystore -d
- nvm install 12
- node --version
install:
- yarn
android:
components:
- build-tools-28.0.3
- android-28
script:
- yarn lint
- yarn build-android
after_success:
- chmod +x ./upload-apk.sh
- "./upload-apk.sh"
deploy:
provider: releases
skip_cleanup: true
api_key: $GITHUB_API_KEY
file:
- $TRAVIS_BUILD_DIR/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
- $TRAVIS_BUILD_DIR/android/app/build/outputs/apk/release/app-armeabi-v7a-release.apk
- $TRAVIS_BUILD_DIR/android/app/build/outputs/apk/release/app-x86_64-release.apk
- $TRAVIS_BUILD_DIR/android/app/build/outputs/apk/release/app-x86-release.apk
- $TRAVIS_BUILD_DIR/android/app/build/outputs/apk/release/app-universal-release.apk
on:
repo: sarthakpranesh/flappyBird
branch: master
tags: true