Test both Rails 4.0 and 4.1 on travis