-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 loc) · 1.13 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
matrix:
include:
- os: osx
language: objective-c
osx_image: xcode9.4
env:
- OS: 'ios'
- os: linux
language: android
jdk: oraclejdk8
sudo: required
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
# Installi a lts version of Node
- nvm install --lts
# Run build script
- npm run ci