Update .travis.yml

Factor out R install for travis builds