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] Update Yarn to stable 1.2.1, use Node v6 #8915

Merged
merged 2 commits into from
Nov 6, 2017
Merged

[Travis] Update Yarn to stable 1.2.1, use Node v6 #8915

merged 2 commits into from
Nov 6, 2017

Conversation

vntw
Copy link
Contributor

@vntw vntw commented Oct 30, 2017

Q A
Branch? 1.0
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
License MIT

This also uses LTS Node v6 since v7 is not officially supported:

yarn install v1.2.1
warning You are using Node "7.5.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || ^8.0.0"

To use Node v8, we'd need either Trusty (which causes some problems as you know) or upgrade gcc ourselves, but I'd just wait and see if Trusty works in the near future.

@GSadee GSadee requested a review from pamil October 30, 2017 20:39
@GSadee GSadee added the Maintenance CI configurations, READMEs, releases, etc. label Oct 30, 2017
@GSadee GSadee added this to the 1.0 milestone Oct 30, 2017
Copy link
Contributor

@pamil pamil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the currently supported NodeJS versions: ^4.8.0 || ^5.7.0 || ^6.2.2 || ^8.0.0, let's go for the last one here.

@@ -14,15 +14,15 @@ matrix:
php: 7.1
env:
- SYLIUS_SUITE="application"
- TRAVIS_NODE_VERSION="7.5"
- TRAVIS_NODE_VERSION="6.11"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use 8.9 version instead, it's the latest supported one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aaah okay, missed the description.

@@ -15,4 +15,4 @@ run_command "rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/
run_command "sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg"
run_command "echo \"deb http://dl.yarnpkg.com/debian/ stable main\" | sudo tee /etc/apt/sources.list.d/yarn.list"
run_command "sudo apt-get update -qq"
run_command "sudo apt-get install -y -qq yarn=0.21.3-1"
run_command "sudo apt-get install -y -qq yarn=1.2.1-1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 1.3.2 available?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, of course they release 1.3 two days after I open this PR 😄 I'll save it for another time if you don't mind, at least we're stable now 🤞

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we can wait for Trusty setup to make both Node 8.x and Yarn 1.3.x

Copy link
Contributor

@pamil pamil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, it's good to go! :)

@pamil pamil merged commit 86a4d49 into Sylius:1.0 Nov 6, 2017
@pamil
Copy link
Contributor

pamil commented Nov 6, 2017

Thanks @venyii! 🎉

@vntw vntw deleted the update-stable-yarn branch November 6, 2017 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants