travis supports csharp

22 Mar 2015

I’ve used travis to test c# projects for a few years now. It has been a bit of a pain to get it working (read custom ppa or setting language to objective c and downloading and installing package intended for xamarin studio).

I feel that good things happen because people have more confidence in mono.

How do you test your projects on travis? Read the travis documentation or look at how I have done it in for example with. I’m using ruby to build c# since it’s cross-platform. You can substitute rake for grunt if you prefer nodejs.

Another way is to use that bash has some nice filename expansion. This means that you can probably write:

mono ./src/packages/NUnit.Runners.*/tools/nunit-console.exe

to avoid hard coding the version of the runner.



Comments or errors? Fork this post and do a pull request on github