Skip to content

Add Azure Pipelines for CI (Linux, Mac, and Windows)#916

Closed
kaylangan wants to merge 5 commits intotj:masterfrom
kaylangan:azure-pipelines
Closed

Add Azure Pipelines for CI (Linux, Mac, and Windows)#916
kaylangan wants to merge 5 commits intotj:masterfrom
kaylangan:azure-pipelines

Conversation

@kaylangan
Copy link

@kaylangan kaylangan commented Feb 14, 2019

Azure Pipelines gives open source projects 10 build pipelines with unlimited minutes for Linux, Mac, and Windows.

This PR adds support to run CI on all three platforms and also makes changes so that the tests pass on Windows (fixes #635). I did have to special case some tests; for example, search works on Windows whereas the tests expect an EACCES error for Linux/Mac. Any pointers on preferred ways to make the tests Windows-friendly would be much appreciated!

I set up a commander.js pipeline here. The builds seem to be slightly faster than on Travis. I'm happy to transfer ownership over if this is something you want to pursue. Here's a screenshot of the UI:
image

Azure Pipelines also has rich test reporting which works well with commonly used test runners, including mocha and ava which are being considered in #649. Here's an example from prettier:
image

Let me know if there are any questions or suggestions. I'm a Program Manager for Azure Pipelines and happy to help!

@shadowspawn
Copy link
Collaborator

Good coverage and helpful information in the description including helpful info on mocha and ava. Thanks for references to related issues, always appreciated.

I think we will come back to this after deciding where we are going with sinon, so closing this in the meantime to clear out Pull Requests we are not ready to act on.

I have added a comment to #635 back to this Pull Request.

Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable tests on Windows CI

2 participants