This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
59 lines (50 loc) · 1.49 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
51
52
53
54
55
56
57
58
matrix:
include:
- language: node_js
node_js:
- "9"
script:
- npm install
- npm run lint
- npm test
- os: osx
language: objective-c
osx_image: xcode10.2
env:
- OS: 'ios'
- os: linux
language: android
jdk: oraclejdk8
sudo: required
# https://stackoverflow.com/questions/22475849/node-js-what-is-enospc-error-and-how-to-solve/32600959#32600959
before_script:
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
android:
components:
- platform-tools
- tools
- build-tools-27.0.3
- android-21
- android-27
- sys-img-armeabi-v7a-android-21
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
env:
- OS: 'android'
script:
# See https://austinpray.com/ops/2015/09/20/change-travis-node-version.html
# Clear out whatever version of NVM Travis has.
# Their version of NVM is probably old.
- rm -rf ~/.nvm
# Grab NVM.
- git clone https://github.com/creationix/nvm.git ~/.nvm
# Checkout the latest stable tag.
# Note that you can just hardcode a preferred version here.
- (cd ~/.nvm; git checkout `git describe --abbrev=0 --tags`)
# Add nvm command available to shell
- source ~/.nvm/nvm.sh
# Install latest version of Node
- nvm install 11.6.0
# Run build script
- npm run ci