Skip to content
Permalink
Browse files

add code coverage

  • Loading branch information...
idroz committed Aug 2, 2019
1 parent 007a7fe commit df4c19c3f0e353c8ddcb8e3e40b97e0f134814b5
Showing with 23 additions and 0 deletions.
  1. +2 −0 .travis.yml
  2. +1 −0 ci_scripts/install-R.sh
  3. +20 −0 codecov.yaml
@@ -27,3 +27,5 @@ install:
script:
- bash ci_scripts/test.sh
- bash ci_scripts/test-R.sh
after_success:
- Rscript -e 'library(covr); codecov()'
@@ -1,3 +1,4 @@
sudo Rscript -e 'remotes::install_github("rstudio/reticulate")'
sudo Rscript -e 'install.packages("covr", repos="http://cran.us.r-project.org")'
sudo Rscript -e 'install.packages("devtools", repos="http://cran.us.r-project.org")'
sudo Rscript -e 'devtools::install_github("beringresearch/ivis/R-package");library(ivis);install_ivis()'
@@ -0,0 +1,20 @@
coverage:
precision: 2
round: down
range: "70...100"

status:
project:
default:
target: auto
if_no_uploads: error

patch:
default:
if_no_uploads: error

changes: true

comment:
layout: "header, diff, changes, suggestions"
behavior: default

0 comments on commit df4c19c

Please sign in to comment.
You can’t perform that action at this time.