Add travis.ci support. Fix rake task