Fixes rake tasks and adds travis ci configuration.