rhub icon indicating copy to clipboard operation
rhub copied to clipboard

Feature request: integrating with Travis-CI

Open evanbiederstedt opened this issue 4 years ago • 2 comments

Hi there

Thanks for the great tool!

I've been testing an R package with C++ bindings, and it's useful for CRAN submissions to understand how the package builds on the 32-bit Oracle Solaris platform (especially as this is proprietary software).

I would like to know how easy it would be to integrate this with Travis-CI builds, and if this isn't possible, to make a feature request. (I'm happy to help out.)

My naïve idea would be that users could do the following with a verified email account:

after_success:
  - git config --global user.name "FIRST LAST"
  - git config --global user.email [email protected]
  - git config --global --list
   - Rscript - e 'rhub::check_on_solaris("[email protected]")'

Thankfully, this doesn't work.

How could one set this up with Travis?

evanbiederstedt avatar Jul 10 '20 23:07 evanbiederstedt

https://jozef.io/r107-multiplatform-gitlabci-rhub/ might provide some inspiration (not on Travis though).

maelle avatar Jul 13 '20 08:07 maelle

This is very helpful @maelle, thank you!

evanbiederstedt avatar Jul 13 '20 23:07 evanbiederstedt

Travis is gone, and the next gen of Docker images will be easier to use on GHA.

gaborcsardi avatar Aug 31 '22 12:08 gaborcsardi