2018-09-19 09:56:27 -05:00
|
|
|
# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/
|
|
|
|
|
|
|
|
language: c
|
|
|
|
sudo: required
|
2020-06-09 21:17:48 -05:00
|
|
|
dist: bionic
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
#- name: r-3.5
|
|
|
|
# env: R_VERSION="3.5"
|
|
|
|
- name: r-4.0
|
|
|
|
env: R_VERSION="4.0"
|
2018-09-19 09:56:27 -05:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh
|
|
|
|
- ./run.sh bootstrap
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ./run.sh install_aptget r-cran-rmarkdown
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./run.sh run_tests
|
|
|
|
|
|
|
|
after_failure:
|
|
|
|
- ./run.sh dump_logs
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|