mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 15:18:10 +00:00
[ReactNative][Travis] Use nvm with node v0.10
This commit is contained in:
parent
3b6ed00ace
commit
8976a05fe1
10
.travis.yml
10
.travis.yml
@ -5,16 +5,24 @@ osx_image: beta-xcode6.3
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
- .nvm
|
||||
|
||||
before_install:
|
||||
- brew update
|
||||
install:
|
||||
- brew reinstall flow xctool
|
||||
- brew reinstall flow xctool nvm
|
||||
- mkdir -p .nvm
|
||||
- cp $(brew --prefix nvm)/nvm-exec .nvm/
|
||||
- export NVM_DIR=.nvm
|
||||
- source $(brew --prefix nvm)/nvm.sh
|
||||
- nvm install v0.10
|
||||
- npm config set spin=false
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- |
|
||||
nvm use v0.10
|
||||
|
||||
if [ "$TEST_TYPE" = objc ]
|
||||
then
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user