From fb5942526215dc899ee5fe5de9f552cbe9deda7b Mon Sep 17 00:00:00 2001 From: James Ide Date: Thu, 3 Sep 2015 15:48:22 -0700 Subject: [PATCH] [Node 4] Update .travis.yml to install Node 4.x + upgrade jest Jest 0.5.2 ships with a fix for bound functions, which RN exercises. And with this Travis change, the automated tests will install Node 4.x with nvm before running. Test Plan:`nvm use 4 && npm i && npm test` See if Travis tests pass. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9319fb00a..f7a6a9048 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ install: - mkdir -p .nvm - export NVM_DIR="$PWD/.nvm" - source $(brew --prefix nvm)/nvm.sh - - nvm install iojs-v3 + - nvm install 4 - rm -Rf `node -p "require('os').tmpDir()"`/jest_preprocess_cache - npm install -g flow-bin@`node -p "require('fs').readFileSync('.flowconfig', 'utf8').split('[version]')[1].trim()"` - npm config set spin=false