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

Build: add Node v10 to travis #10262

Merged
merged 2 commits into from May 28, 2018
Merged

Build: add Node v10 to travis #10262

merged 2 commits into from May 28, 2018

Conversation

alberto
Copy link
Member

@alberto alberto commented Apr 25, 2018

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[X] Other, please explain:

What changes did you make? (Give an overview)
Add Node v10 to travis

Is there anything you'd like reviewers to focus on?
No

@eslint-deprecated eslint-deprecated bot added the triage An ESLint team member will look at this issue soon label Apr 25, 2018
@mysticatea
Copy link
Member

Thank you.

Looks to need to fix a test.

-     }, /Output is incorrect\. \(' foo = bar;' === 'invalid output'\)$/);
+     }, /Output is incorrect\. \(' foo = bar;' (?:===|strictEqual) 'invalid output'\)$/);

tests/lib/testers/no-test-runners.js#L29

@alberto
Copy link
Member Author

alberto commented Apr 26, 2018

Yes, thanks for pointing it out.

@mysticatea mysticatea added infrastructure Relates to the tools used in the ESLint development process accepted There is consensus among the team that this change meets the criteria for inclusion and removed triage An ESLint team member will look at this issue soon labels Apr 26, 2018
@mysticatea
Copy link
Member

mysticatea commented Apr 26, 2018

Hmm, I'm not sure what the new test failings are.
I couldn't reproduce those failings in my PC... I could.

@alberto
Copy link
Member Author

alberto commented Apr 26, 2018

Ugh, I used the wrong node version locally 🤦‍♂️ I'll have a look at it later.

@not-an-aardvark
Copy link
Member

I think the test failures are fixed in #10182.

@platinumazure
Copy link
Member

After merging #10182, it seems there are still some errors we might need to look at. So we decided to hold off on merging this for tonight's alpha release.

@alberto
Copy link
Member Author

alberto commented May 3, 2018

Ok, sorry it took so long. I think I've traced at least some of the errors down to an issue with mockFs and changes in fs.statSync (called here).

@tschaub
Copy link
Contributor

tschaub commented May 7, 2018

@alberto mock-fs@4.5 has been published with Node 10 support.

@alberto
Copy link
Member Author

alberto commented May 7, 2018

Awesome! Thanks @tschaub

@@ -26,7 +26,7 @@ try {
{ code: "var foo = bar;", output: "invalid output", errors: 1 }
]
});
}, /Output is incorrect\. \(' foo = bar;' === 'invalid output'\)$/);
}, /Output is incorrect\. \(' foo = bar;' (?:===|strictEqual) 'invalid output'\)$/);
Copy link
Member

Choose a reason for hiding this comment

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

Can we update this assertion to use something like this strategy for matching messages? Using a regex for error messages has caused problems when error messages change in Node core (see #10111).

@alberto
Copy link
Member Author

alberto commented May 21, 2018

I'm sorry I had some problems getting the test to fail for the right reason and then got busy, so if anyone wants to take over this, feel free to do so.

@aladdin-add
Copy link
Member

Just pushed a commit to fix the message. 🚀

Copy link
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@aladdin-add aladdin-add merged commit f268128 into master May 28, 2018
@aladdin-add aladdin-add deleted the node-10 branch May 28, 2018 14:40
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Nov 26, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Nov 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion infrastructure Relates to the tools used in the ESLint development process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants