-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Configure for v0.12 and io.js compatibility #571
Conversation
It is no surprise, but this also solves the problem with node 0.12.0. |
Thanks a lot for your contribution @andrewbranch - we appreciate it a lot! This really should make it into a new release as soon as possible 👍 Before we can merge this, I'll have to ask you to revert all unnecessary changes (like the Also, I guess it would be of further value, if you could add a line in our .travis.yml file to include |
Fixed the commit history, but it looks like there are other issues arising with newer node versions. Working on adding fixes to the pull. |
Most of the failing tests from the last build were caused by |
It looks like you can fix the error by copying the conditional you used in server-test.js to the beforeEach of ssl-test.js, namely: I didn't checkout your branch to confirm, but that looks to be the issue. |
Everything looks good now! Thanks to @mdhooge, @herom, and @robertjneal for the input/guidance! |
@@ -2,5 +2,7 @@ language: node_js | |||
node_js: | |||
- 0.8 | |||
- 0.10 | |||
- 0.12 | |||
- iojs | |||
before_install: | |||
- npm install -g npm@~1.4.6 |
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.
why was this removed?
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.
Only an addition is shown here—the dashes are part of the YAML syntax itself. :)
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.
On a tangential note, is there a specific reason to stay with [email protected]?
It's almost a year old and npm's current requirement of node >= 0.8 seems like a non-issue no?
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.
@andrewbranch oh, sorry - I was totally shure that this was deleted 😸
@simonjosefsson we needed npm v1.4.6
in order to let the tests pass for node v0.8.0
too while pulling in some new libraries. This could probably make it into another PR where we should discuss about support for the (very, very) old node v0.8.0
in general.
Configure for v0.12 and io.js compatibility
Thanks a ton @andrewbranch 👯 |
@herom My pleasure—one step closer to using io.js on Heroku! |
Configure for v0.12 and io.js compatibility
Fixes #550. Sorry about the end-of-line spacing changes, my editor seemed to do that automatically for some reason.