From 3e52df8c2aa11de84fb6eb6664eda2043909d2d9 Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Tue, 16 Feb 2016 10:20:56 -0800 Subject: [PATCH] Using an updated version of Sinopia that works with node 4&5 Differential Revision: D2939188 fb-gh-sync-id: 0189d820c818df249ed26dbeb0d2d6e1d43c82b1 shipit-source-id: 0189d820c818df249ed26dbeb0d2d6e1d43c82b1 --- .travis.yml | 7 +++---- scripts/e2e-test.sh | 6 ++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index c1d47f6c0..a5ff66f51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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$/ - \ No newline at end of file diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index 731a96edf..5cfdc65cf 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -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