Fix travis.yml so failures are properly reported

Currently, all travis builds succeed via the `test_for_target` command since `Rake::Task.invoke` doesn't return false if tests fail.