schambers/fluentmigrator — pull request #375 by daniellee (2013-02-03 08:29:42+00:00)
Title: Get FluentMigrator working on Travis CI

Travis CI (travis-ci.org) is a CI service that runs on Linux. So inspired by the git-tfs project I decided to set it up for FluentMigrator as well so that we can have FM regularly building on Linux and Mono.

I have added two new files a .yml file for Travis CI and an msbuild file called CI.proj.

Then I had to carry out a raft of small changes to get it to build and for all the tests to run. Two of the changes were files/references that had the wrong casing (Linux is case sensitive ). I had to ignore some of the tests for Mono which I did by adding a new test category. And then to get all the tests working I had to change all the \r\n newlines to Environment.Newline.

I removed two settings that I don't think are needed anymore. One is the -d:LINQ switch for the console runner and the other is the post build event on FluentMigrator.Tests that copies SqlServerCE dlls.

I wrote a blog post about the process if anyone wants to know more: http://danlimerick.wordpress.com/2013/02/03/build-your-open-source-net-project-on-travis-ci/

To enable this I need some help from @schambers. I have read and write access to the repo but not admin access. @schambers has to sign up to travis-ci.org for it to work.

I have it working on my own fork and you can see the build results here:
https://travis-ci.org/daniellee/fluentmigrator/builds