add rdoc and fix travis.yml