-
Notifications
You must be signed in to change notification settings - Fork 723
-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for testing R code to travis #1549
Comments
No, not really. This is pretty much it. There are two main things that we need for first-class support for a language: Adding the language to travis-build and adding cookbooks to travis-cookbooks. travis-build includes information on how to build the project by default, and some settings to make this easier, and the cookbooks have information on what should be preinstalled.
That would be a good place to start, but before you put too much effort into it I'd love to hear what someone else on the (Travis) team says about adding another language. (/cc @joshk since you maintain the images right now).
Nope!
Travis Images is probably what you're looking for. |
@joshk, any thoughts? |
I am interested in us adding R, maybe starting with Travis Build changes first to see if we should make cookbook changes or have travis-build install what it needs to on each run. Sound good? On 31/10/2013, at 9:12 pm, Craig Citro notifications@github.com wrote:
|
Several R packages are already tested with Travis CI: knitr, dplyr, plyr, tikzDevice, to name just a few. knitr has an integration test that installs LaTeX, it is also installed for each tikzDevice test. This requires several minutes for each run, these would be saved if an image that has it is available. Would it be possible to include LaTeX into one of the "default" cookbooks? Almost everything else we need to install we basically install in the most recent version, so there's probably no benefit of packaging this into an image ==> travis-build. |
@craigcitro: Let me restate that I'm 100% positive about providing a first-class @joshk: How often are the images at travis-ci.org updated? If it's not too rare, a sensible default of R and packages might be good to have in the image anyway. |
I think the first round of supporting R should be an R ‘builder’ in travis-build. The second round is we can look at preinstalling some packages as needed, but updating VMs is using done monthly or bimonthly. On 1/11/2013, at 3:15 pm, Kirill Müller notifications@github.com wrote:
|
I'm closing this as the feature seems to have gotten stale. We may reconsider this in the future, and we'd be happy to accept contributions to travis-build too. |
i assume the thing to do is reopen once i've got a first travis-build PR ready? |
Yeah, once we have something that we can consider shipping, we can keep this issue updated. |
hi @roidrage and @joshk -- i'm finally getting a few cycles to work on this, so i wanted to reopen this with a few questions. the r-travis use seems to be going strong, so there's definitely interest.
|
It's time. Otherwise people may just defect to CircleCI which from what I have been told allows deployment of custom Docker containers. Which would a cheap(er) way for us to test R code. Travis is great as is, and used pretty widely by R folks. Making Travis easier and better can only help... |
@craigcitro thanks for taking the time in Dec to write up your last comment. As this was Xmas time this kinda fell into the abyss of time-off. I would recommend getting started with travis-build and we can comment on a PR there and help where possible. Any start is a good start. Sorry but we can't use Docker images yet. This is on our roadmap, but no ETA sorry. |
@joshk cool, sounds good. i've got a good chunk of a travis-build PR in the works, i'll send that out soon and go from there. i'll be excited to simplify when docker images are available, but converting the existing code is definitely the fastest path forward anyway. don't sweat the x-mas abyss: any time i had to work got eaten by 2yo & 5yo both getting sick. |
Awesome! We look forward to getting this merged in and live! Have an awesome week! |
hi all,
i'd like to find out what it would take to make R a first-class citizen for travis. i recently created a repo with some terribly lowbrow scripts for testing out R on travis -- we're still working through details to streamline how we'd like things to work, but it definitely seems like there's interest.
i've got a bunch of questions:
thanks!
The text was updated successfully, but these errors were encountered: