Skip to content

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

Closed
@tharakawj

Description

@tharakawj

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.

Activity

gaearon

gaearon commented on Sep 2, 2017

@gaearon
Contributor

Let's set dist: precise?

locked and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gaearon@tharakawj

        Issue actions

          Travis Build fails due to the migration of CI environment · Issue #3054 · facebook/create-react-app