Use Rails 4.0.4 and Rails 4.1.0 in travis