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.



Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.

Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.