-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
39 lines (33 loc) · 806 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
37
38
39
language: node_js
node_js: 8.9.4
cache:
directories:
- node_modules
- examples/Basic/node_modules
matrix:
include:
- language: objective-c
osx_image: xcode9.4
xcode_sdk: iphonesimulator11.0
addons:
artifacts: true
env:
global:
- NODE_VERSION=stable
- CODE_SIGNING_REQUIRED=NO
install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
- export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- brew install watchman
- brew tap wix/brew
- brew install wix/brew/applesimutils
- npm install -g react-native-cli
- npm install -g detox-cli
- npm install
- cd examples/Basic && npm install
- cd ..
- cd ..
script:
- npm run test