diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-11-10 15:43:43 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-11-10 15:43:43 +0100 |
commit | 7a54d9b65fc55e28411126b97c542fb4c180c0a7 (patch) | |
tree | e6671e921f3da1289c88f671c9ceef1c99165ebf | |
parent | a0364c2561dda4c4b67e7e3b6830719b4ed60916 (diff) |
Use Dirks run.sh on travis
-rw-r--r-- | .travis.yml | 43 |
1 files 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 |