Closed nelsonic closed 6 years ago
IMHO, placing specific versions of node in the travis.yml is a recipe for deprecation. I usually run with the latest version:
language: node_js
node_js:
- "node"
If you really insist in putting a specific version, you are pretty much saying "I will always keep an eye on this tutorial to update it because every X months node releases a new stable version and in X - Y months this tutorial will be deprecated and may not aid new users" (like the TDD tut where people can't use ECMA 6).
With my suggestion, your tutorial would always be up to date. I am not against keeping an eye and maintaining tutorials, I just think that it is humanly impossible to keep every single tutorial dwyl has up to date and that sooner or later someone will stop caring.
Agreed. will be updating this. 👍
Just as an fyi, a few of us in the current FAC cohort have come unstuck by copying an old node version into their travis.yml - an update would be much clearer. Thanks 😄
@rachaelcodes pull requests always welcome! 😉 (apologies for the confusion/frustration ... 😕 )
http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ We should update the readme to reflect the fact that a specific node.js version can be selected for test.
Tip: if you specify only the major number e.g. v4 travis will automatically use the latest stable.