Using an updated version of Sinopia that works with node 4&5

Differential Revision: D2939188

fb-gh-sync-id: 0189d820c818df249ed26dbeb0d2d6e1d43c82b1
shipit-source-id: 0189d820c818df249ed26dbeb0d2d6e1d43c82b1
This commit is contained in:
Konstantin Raev 2016-02-16 10:20:56 -08:00 committed by facebook-github-bot-9
parent 41789e7929
commit 3e52df8c2a
2 changed files with 7 additions and 6 deletions

View File

@ -3,9 +3,9 @@ language: objective-c
osx_image: xcode7.2
cache:
directories:
- node_modules
- .nvm
directories:
- node_modules
- .nvm
install:
- brew reinstall nvm
@ -69,4 +69,3 @@ branches:
only:
- master
- /^.*-stable$/

View File

@ -42,7 +42,9 @@ cd $TEMP
# sinopia is npm registry proxy, it is used to make npm
# think react-native and react-native-cli are actually
# published on npm
which sinopia || npm install -g sinopia
# Temporarily installing sinopia from a github fork
# TODO t10060166 use npm repo when bug is fixed
which sinopia || npm install -g git://github.com/bestander/sinopia.git#057155985fe955ed6066d1fc2edc159c63dec675
# but in order to make npm use sinopia we temporarily
# replace its config file
@ -60,7 +62,7 @@ npm publish $ROOT
npm publish $ROOT/react-native-cli
npm install -g react-native-cli
react-native init EndToEndTest --verbose
react-native init EndToEndTest
cd EndToEndTest/ios
# Make sure we installed local version of react-native