From 3e96fb1de3928e8e284c925964b54f3be1b60a2d Mon Sep 17 00:00:00 2001 From: James Ide Date: Fri, 7 Jul 2017 06:20:30 -0700 Subject: [PATCH] Upgrade the version of Yarn to 0.27.5 for CI Summary: The TravisCI tests were using an especially old version of Yarn. Upgrade to 0.27.5 so we're using a version closer to the version that more people (and especially RN maintainers) would be using. Closes https://github.com/facebook/react-native/pull/14883 Differential Revision: D5380987 Pulled By: javache fbshipit-source-id: d600c6c4dbf881006065d1e294226b6a2a60a70b --- .travis.yml | 5 ++--- ContainerShip/Dockerfile.javascript | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b18c3bab06b9e..593340f5c36208 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,8 @@ osx_image: xcode8.3 install: - nvm install 7 - 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" - - $yarn install + - brew install yarn --ignore-dependencies + - yarn install script: - if [[ "$TEST_TYPE" = objc-ios ]]; then travis_retry travis_wait 30 ./scripts/objc-test-ios.sh test; fi diff --git a/ContainerShip/Dockerfile.javascript b/ContainerShip/Dockerfile.javascript index d9fc1f57c7b3d7..7c1e14bb9b845b 100644 --- a/ContainerShip/Dockerfile.javascript +++ b/ContainerShip/Dockerfile.javascript @@ -1,6 +1,6 @@ FROM library/node:6.9.2 -ENV YARN_VERSION=0.19.1 +ENV YARN_VERSION=0.27.5 # install dependencies RUN apt-get update && apt-get install ocaml libelf-dev -y