aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml58
1 files changed, 37 insertions, 21 deletions
diff --git a/.travis.yml b/.travis.yml
index 77efef09..33070708 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,23 +1,39 @@
-language: r
-r:
- - 4.1.2
- - devel
-addons:
- apt:
- packages:
- - gcc
- - libgit2-dev
- - libmpfr-dev
-cache: packages
-repos:
- CRAN: https://cloud.r-project.org
-r_packages:
- - devtools
- - covr
- - vdiffr
+# 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_r nlme
+ - ./run.sh install_all
+ - ./run.sh install_github jranke/saemixextension@installable_dev_version
+
script:
- - R CMD build .
- - R CMD check --no-tests mkin_*.tar.gz
- - Rscript -e 'devtools::test()'
+ - ./run.sh run_tests
+
+after_failure:
+ - ./run.sh dump_logs
+
after_success:
- - travis_wait Rscript -e 'covr::codecov()'
+ - travis_wait ./run.sh coverage
+
+notifications:
+ email:
+ on_success: change
+ on_failure: change

Contact - Imprint