{"id":14069763,"url":"https://github.com/eddelbuettel/r-travis","last_synced_at":"2025-10-29T01:31:50.212Z","repository":{"id":11390751,"uuid":"13833846","full_name":"eddelbuettel/r-travis","owner":"eddelbuettel","description":"Tools for using R with Travis, GitHub Actions and other CI backends","archived":false,"fork":false,"pushed_at":"2021-03-09T03:01:17.000Z","size":221,"stargazers_count":6,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T21:05:24.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://eddelbuettel.github.io/r-travis","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-24T14:06:42.000Z","updated_at":"2021-03-09T03:01:20.000Z","dependencies_parsed_at":"2022-09-19T10:01:36.385Z","dependency_job_id":null,"html_url":"https://github.com/eddelbuettel/r-travis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/r-travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238758156,"owners_count":19525721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:07:12.204Z","updated_at":"2025-10-29T01:31:49.853Z","avatar_url":"https://github.com/eddelbuettel.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\n## r-travis: CI for R at Travis, GitHub Actions, Azure Pipelines, ...\n\n*Note:* This repository is **deprecated** in favour of [r-ci](https://github.com/eddelbuettel/r-ci)\nwhich is a portable generalization suitable for GitHub Actions, Azure\nPipelines, Travi, and likely more.  This repo and its script `run.sh` still\nwork, but updates will happen over at [r-ci](https://eddelbuettel.github.io/r-ci/).\n\n\n\nThis repository ~~is~~ was  a maintained fork of the (now deprecated) original\n[r-travis](https://github.com/craigcitro/r-travis) repository by Craig Citro et al.  I was an early\n[contributor to this project](https://github.com/craigcitro/r-travis/graphs/contributors), and quite\nlike its design and features -- so I have been keeping it around, maintained and extended it. It is\nmy 'go-to' CI setup for a few dozen repositories affecting a fairly decent number of users.\n\n### Status\n\nMaintained and used across Travis and GitHub Actions -- and also usable with\nAzure Pipelines, locally using Docker, ...\n\nIts main advantages as are _strong portability_ as well as _ease of use_ and _customizability_.\n\nNote that as it is used beyond just one Continuous Integration (CI) backend, we decided to change\nthe name away from reflecting only one of the backends. So please see the\n[r-ci](https://github.com/eddelbuettel/r-ci) for the continuation of this work.\n\n\n### Basic Usage\n\nA minimal example of use with Travis follows:\n\n```sh\nlanguage: c\nsudo: required\ndist: focal\n\nbefore_install:\n  - curl -OLs https://eddelbuettel.github.io/r-ci/run.sh \u0026\u0026 chmod 0755 run.sh\n  - ./run.sh bootstrap\n\ninstall:\n  - ./run.sh install_deps\n\nscript:\n  - ./run.sh run_tests\n```\n\nThis downloads the `run.sh` script, uses it to _bootstrap_ the test environment, then installs\ndependencies via `install_deps` and finally runs tests. For a realistic but real example see _e.g._\n[this .travis.yml file of package\ndigest](https://github.com/eddelbuettel/digest/blob/master/.travis.yml).\n\nFor another example, see package [tidyCpp](https://github.com/eddelbuettel/tidycpp/) which shows how\nto use the `run.sh` script [with Travis\nCI](https://github.com/eddelbuettel/tidycpp/blob/master/.travis.yml) as well as [with GitHub\nActions](https://github.com/eddelbuettel/tidycpp/blob/master/.github/workflows/R-CMD-check.yaml).\n\nNumerous variations are possible: running 'test matrices' across macOS and Linux, using BSPM for\nbinaries (both of those [are used by\ndigest](https://github.com/eddelbuettel/digest/blob/master/.travis.yml), running with several g++\nversions (as used by\n[RcppSimdjson](https://github.com/eddelbuettel/rcppsimdjson/blob/master/.travis.yml), ...\n\nWe also use the same approach of downloading `run.sh` and invoking it for the different steps in\nwith GitHub Actions (_e.g._ for\n[tidyCpp](https://github.com/eddelbuettel/tidycpp/blob/master/.github/workflows/R-CMD-check.yaml)). Similarly,\nAzure Pipelines can be used (as was done by a test repo on Azure).\n\nThere are also other options of use with PPAs and more---for fullest details see the source of the\nshell script `run.sh`.\n\n### More\n\nSee the [webpage for r-travis](http://eddelbuettel.github.io/r-travis/) for more on this repo, and\nthe [webpage for r-ci](http://eddelbuettel.github.io/r-ci/) for more on its successor and\ncontinuation.\n\n### Author\n\nDirk Eddelbuettel (for this maintained fork)\n\nCraig Citro, Kirill Mueller, Dirk Eddelbuettel, ... (for the original r-travis)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fr-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Fr-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fr-travis/lists"}