Skip to content

Commit

Permalink
Code coverage: exclude SOILWAT2's c code
Browse files Browse the repository at this point in the history
close #36
  • Loading branch information
dschlaep committed Jul 15, 2017
1 parent d2a66cc commit d7cf0ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ r:
- release
- devel
sudo: false
warnings_are_errors: false # set to true: This option forces all WARNINGS from R CMD check to become build failures (default true). This is especially helpful when preparing your package for submission to CRAN
warnings_are_errors: false # set to true: This option forces all WARNINGS from R CMD check
# to become build failures (default true). This is especially helpful when preparing
# your package for submission to CRAN
cache: packages
after_success:
- Rscript -e 'covr::coveralls()'
# code coverage but exclude all SOILWAT2 submodule files in scr/
- Rscript -e 'covr::coveralls(line_exclusions = as.list(file.path("src", list.files("src", recursive = TRUE))))'

0 comments on commit d7cf0ab

Please sign in to comment.