-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Conversation
There was a problem hiding this 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" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 🤞
There was a problem hiding this comment.
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
There was a problem hiding this 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! :)
Thanks @venyii! 🎉 |
This also uses LTS Node v6 since v7 is not officially supported:
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.