From 406a4c04d34aef2e61724ec7b886eb4c00ae14e8 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Tue, 28 Feb 2017 14:11:08 -0800 Subject: [PATCH] Update travis config to test on node 6 Summary: This should get our node environments to match between internal tests and Travis runs Closes https://github.com/facebook/react-native/pull/12624 Differential Revision: D4630451 Pulled By: hramos fbshipit-source-id: 57db3411c9e7b20f13e9f5b37d663fa1726c08e3 --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3c7e7a396..40f52ea8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,9 @@ install: - brew install nvm - source $(brew --prefix nvm)/nvm.sh # TODO npm 2 started stalling on Travis, t11852928 - - nvm install 5 + + # Use node 6 because that is what runs on land-blocking tests + - nvm install 6 - rm -Rf "${TMPDIR}/jest_preprocess_cache" - wget https://github.com/yarnpkg/yarn/releases/download/v0.16.0/yarn-0.16.0.js - export yarn="node $(pwd)/yarn-0.16.0.js"