Refine Rakefile to use Travis CI