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

Commit

Permalink
Merge pull request #90 from UCL-HIC/fixTravis
Browse files Browse the repository at this point in the history
Now Travis also fails on errors
  • Loading branch information
sinanshi authored Sep 21, 2016
2 parents c61a4d4 + 7018709 commit 1ccdf56
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 1ccdf56

Please sign in to comment.