adapting rakefile to Travis-ci