-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.09 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
# safelist
branches:
only:
- master
- dev
jobs:
include:
- stage: Test and lint ✅
before_install:
- npm i -g [email protected]
- npm i -g [email protected]
language: node_js
node_js: 12.18.4
install: yarn
script: yarn lint
- stage: Build Android 🤖
before_install:
- sudo apt-get install build-essential checkinstall && sudo apt-get install libssl-dev
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
- source ~/.profile
- nvm install 12.18.4
- npm i -g [email protected]
language: android
android:
components:
- tools
- platform-tools
# - build-tools-26.0.2
- build-tools-27.0.3
# - android-26
- android-27
- addon-google_apis-google-26
sudo: true
install:
- yarn install
script:
- cd /usr/local/android-sdk/tools/bin
- yes | ./sdkmanager --update
- cd - && cd android && ./gradlew assembleRelease -x bundleReleaseJsAndAssets && cd ..