Update rakefile and travis file to pass through status code