aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-11-10 15:43:43 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-11-10 15:43:43 +0100
commit7a54d9b65fc55e28411126b97c542fb4c180c0a7 (patch)
treee6671e921f3da1289c88f671c9ceef1c99165ebf
parenta0364c2561dda4c4b67e7e3b6830719b4ed60916 (diff)
Use Dirks run.sh on travis
-rw-r--r--.travis.yml43
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

Contact - Imprint