Skip to content

Commit

Permalink
Turn off lintr-bot on travis-ci
Browse files Browse the repository at this point in the history
we are currently using `lintr` in `testthat` tests -- this is apparently not intended usage (see https://github.com/jimhester/lintr#continuous-integration) and thus our setup does not respect `.lintr` settings (r-lib/lintr#345)

--> keep our current setup and turn of verbose `lintr-bot`
  • Loading branch information
dschlaep committed Oct 15, 2019
1 parent 1775ca5 commit 498397c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: r

r:
- oldrel
- release
- devel

env:
global:
- LINTR_COMMENT_BOT=false

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

cache: packages

after_success:
# 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))))'
Expand Down

0 comments on commit 498397c

Please sign in to comment.