Add checks to `rake validate` and update Travis