A
A
Alexander Prokhorov2015-10-13 02:52:18
.NET
Alexander Prokhorov, 2015-10-13 02:52:18

Continuous Integration for open-source projects on .NET (C#)?

I am writing an open-source project in C#, I want to do everything in an adult way: CI, NuGet, unit tests. I don’t want to pay for anything, so the choice is only among services that are free for open source.
Let's say here's my PHP project: https://github.com/Athari/YaLinqo There's a Travis build, Coveralls coverage, Scrutinizer static analysis, VersionEye dependency checking, Packagist download statistics, phpDocumentor documentation on GitHub.io, the whole ReadMe in icons, everything is glamorous (only the GitHub icons periodically fall off).
I want the same for the C# library (VS2015). Browse services by category.
CI:
* AppVeyor: vague restrictions for open source, maximum one parallel build. At the same time, everything is very beautiful and comfortable.
* Travis: Linux only with mono, beta, no promises. I need Windows, so not an option.
* TeamCity: very vague google form for registration, not inspiring comments on the article... I don't want to be a guinea pig, so it's not an option.
It seems that apart from the sometimes muddy AppVeyor, nothing else suits me. Since I have no desire to pay $30 a month, I will have to be content with what they give. Am I missing something?
Coveralls :
* Coveralls: there is some crutch with 10 stars on the github, which, it seems, allows you to generate coverage: https://github.com/csmacnz/coveralls.net(friends with AppVeyor, Travis, OpenCover, MonoCov, NUnit, xUnit). Coveralls himself believes that my project is in Ruby. I understand that if you want to start it is possible. (By the way, trying to read the Coveralls docs prompts you to login - WTF?)
* CodeCov: C# is officially supported. As in the previous case, you need to nail the OpenCover version in packages.config, which is somewhat confusing. It has a more human interface and can integrate into github using a browser extension.
CodeCov looks like the most reasonable option. Am I missing something?
Static analysis:
* Coverity: judging by the appearance, some kind of cool thing, but not very popular among .NET projects. Even for open source projects, it shows only glamorous graphs, and to get a normal report, it suggests "add to the project." All this is strange.
And... everything. I expected to see FxCop and the company... And where is it all? Of course, I use ReSharper and integrated FxCop, but I want a glamorous online service.
Dependency Check:
Didn't find anything at all. No dependency version checker. Maybe there is something?
Download statistics:
* NuGet: has the number of downloads and the latest version. Not the widest possibilities, but everything is fine.
Results:
Is AppVeyor+CodeCov+OpenCover+xUnit+NuGet a good set? Can you advise something: add, remove, change?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
VanKrock, 2015-10-13
@VanKrock

What didn't you like about TeamCity? What google form? And other products from JetBrains. Resharper is already the default plugin for C# developers.
IMHO TeamCity + Resharper & Co (other tools) + (NUnit + Moq) A gentleman's set, so to speak.

A
Alexey, 2015-10-14
@m_a_d

myget.org is capable of CI+NuGet. The free version is quite good + there is a slightly more advanced one for OpenSource.

M
Michael, 2016-06-01
@bigspb

I would also add Catlight to monitor AppVeyor builds.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question