Add travis rake task and update travis settings

Took inspiration from another project for the rake task and travis conf.