os: linux
dist: xenial
language: r
r:
  - release
addons:
  apt:
    packages:
      - gcc
      - libgit2-dev
      - libmpfr-dev
cache: packages
repos:
  CRAN: https://cloud.r-project.org
r_packages: nlme
r_github_packages:
  - jranke/saemixextension@warp_combined
script:
  - R CMD build .
  - R CMD check --no-tests mkin_*.tar.gz
  - Rscript -e 'devtools::test()'
after_success:
  - Rscript -e 'covr::codecov()'