carols10cents/sunspot — pull request #1 by carols10cents (2012-10-23 01:49:45+00:00)
Title: Travis tests for sunspot_rails are failing but they look like they're passing because the build status is wrong

So all the sunspot_rails test commands have failures in them now (which you can see by looking at the output of e.g. https://travis-ci.org/#!/sunspot/sunspot/jobs/2890640) but the travis overview makes it look like they're all passing.

This is because the exit status of the rake task is not bubbling up correctly.

This can be fixed by using rake's `sh` instead of `system` as discussed here: http://muness.blogspot.com/2007/06/failing-rake-task-that-executes-shell_20.html

The travis commands on this PR now show the actual outcomes: https://travis-ci.org/#!/carols10cents/sunspot/builds/2893804 :(