Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis Build fails due to the migration of CI environment #3054

Closed
tharakawj opened this issue Sep 2, 2017 · 1 comment
Closed

Travis Build fails due to the migration of CI environment #3054

tharakawj opened this issue Sep 2, 2017 · 1 comment

Comments

@tharakawj
Copy link
Contributor

Travis CI environment has been migrated from Ubuntu Precise to Ubuntu Trusty which has yarn v0.17.8 pre installed.

This cause lerna bootstrap.js file to use yarn and fails as yarn v0.17.8 doesn't support --non-interactive flag.

https://travis-ci.org/facebookincubator/create-react-app/jobs/270969063#L499

I think there are two options to solve this. We can either explicitly set dist: precise in .travis.yml until they update yarn to a latest version or change bootstrap.js to check USE_YARN in shouldUseYarn method.

Not sure what's the better approach.

@gaearon
Copy link
Contributor

gaearon commented Sep 2, 2017

Let's set dist: precise?

gaearon pushed a commit that referenced this issue Jan 9, 2018
It appears trusty has Yarn ^v1.0.0 now.

So (#3054) shouldn’t be an issue changing to trusty. As Travis CI [precise support](https://blog.travis-ci.com/2017-08-31-trusty-as-default-status) will be dropped in March 2018 .
Pavek pushed a commit to Pavek/create-react-app that referenced this issue Jul 10, 2018
It appears trusty has Yarn ^v1.0.0 now.

So (facebook#3054) shouldn’t be an issue changing to trusty. As Travis CI [precise support](https://blog.travis-ci.com/2017-08-31-trusty-as-default-status) will be dropped in March 2018 .
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants