From 7a54d9b65fc55e28411126b97c542fb4c180c0a7 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 10 Nov 2022 15:43:43 +0100 Subject: Use Dirks run.sh on travis --- .travis.yml | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index fefed66..2c42d00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,37 @@ -language: r -cache: packages -r: - - release -github_packages: - - r-lib/covr +# Run CI for R using https://eddelbuettel.github.io/r-ci/ + +language: c +sudo: required +dist: focal + +jobs: + include: + - name: linux + os: linux + +env: + global: + - USE_BSPM="true" + - NOT_CRAN="true" + +before_install: + - curl -OLs https://eddelbuettel.github.io/r-ci/run.sh + - chmod 0755 run.sh + - ./run.sh bootstrap + +install: + - ./run.sh install_all + +script: + - ./run.sh run_tests + +after_failure: + - ./run.sh dump_logs + after_success: - - Rscript -e 'covr::codecov()' + - travis_wait ./run.sh coverage + +notifications: + email: + on_success: change + on_failure: change -- cgit v1.2.1