aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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