Most people are running open source projects, so they can easily use github and travis for free. I don’t have that luxury, but gitlab has really caught my attention lately. Combining gitlab, gitlab runner with docker makes things very straightforward. Here is an example
.gitlab-ci.yml file that you would need to include in the base directory of your R project to have it run R CMD check and run testthat tests.