I followed the instructions on how to connect R and trvais: https://github.com/craigcitro/r-travis, and added .travis.yaml. file. I was also inspired by this file https://github.com/rOpenGov/eurostat/blob/master/.travis.yml . #18