Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Now Travis also fails on errors
Browse files Browse the repository at this point in the history
Travis was failing only on `failed` tests, now it also includes `errors`
  • Loading branch information
dpshelio authored and sinanshi committed Nov 7, 2016
1 parent 4d1e80e commit 43634eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ r_packages:
- covr

script:
- Rscript -e 'library(devtools); checkOutput <- data.frame(test()); if (sum(checkOutput["failed"]) > 0){q(status = 1, save = "no")}'
- Rscript -e 'library(devtools); checkOutput <- data.frame(test()); if (sum(checkOutput["failed"]) + sum(checkOutput[["error"]]) > 0){q(status = 1, save = "no")}'

after_success:
- Rscript -e 'library(covr); codecov()'

0 comments on commit 43634eb

Please sign in to comment.