USGS-R/r-travis

Name: r-travis

Owner: USGS-R

Description: Tools for using R with Travis (http://travis-ci.org) in lieu of a website:

Created: 2016-02-09 18:08:14.0

Updated: 2016-02-09 18:08:15.0

Pushed: 2016-03-25 15:12:31.0

Homepage: https://github.com/craigcitro/r-travis/wiki

Size: 183

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

R+Travis

Build Status

NATIVE R SUPPORT IN TRAVIS IS LIVE!

We've finally merged support based on this repo into Travis-CI, so you can simply use language: r to test your R packages!

Setting up r-travis

This package has a simple shell script for use in running R package builds on travis, along with a sample .travis.yml file. One should be able to set up travis for their own project by:

See the wiki for more extensive documentation and examples.

Linux or OS X builds

By default, builds are done on Linux. That is enabled by choosing language: c in the .travis.yml file. Builds on OS X can be enabled by choosing language: objective-c. See the comments in sample.travis.yml.

Currently, Travis-CI does not support builds that loop over platforms (such as Linux and OS X) in one build.

The future

My plan is to ultimately merge this into travis as a first-class citizen, so that the simplest config would simply say language: R. However, I'm using this repo as a staging ground to make sure I have the kinks worked out first. The end goal would be for the .travis.yml for an R project to be something as simple as

language: r
github_packages:
  - assertthat
  - devtools

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.