language: r
cache: packages

os:
  - linux
  - osx

r:
  - release
  - devel
  
matrix:
  exclude:
    - os: osx
      r: devel
  
after_success:
  - Rscript -e 'covr::codecov(line_exclusions = list("R/zzz.R"))'