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
This commit is contained in:
parent
6796abbe55
commit
3e96fb1de3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue