Skip to content

Commit

Permalink
Upgrade the version of Yarn to 0.27.5 for CI
Browse files Browse the repository at this point in the history
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 facebook#14883

Differential Revision: D5380987

Pulled By: javache

fbshipit-source-id: d600c6c4dbf881006065d1e294226b6a2a60a70b
  • Loading branch information
ide authored and facebook-github-bot committed Jul 7, 2017
1 parent 6796abb commit 3e96fb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ContainerShip/Dockerfile.javascript
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3e96fb1

Please sign in to comment.