Add .travis.yml and fix Rakefile