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

Commit

Permalink
Merge branch 'master' of github.com:UCL-HIC/ccdata
Browse files Browse the repository at this point in the history
* 'master' of github.com:UCL-HIC/ccdata:
  Add codecov token
  Added codecov uploader (#91)
  Now Travis also fails on errors
  • Loading branch information
sinanshi committed Sep 26, 2016
2 parents c268950 + e41e735 commit 4f21944
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ language: r
cache: packages
sudo: false

env:
- CODECOV_TOKEN="40f86a6d-0a11-485b-986d-385f921a73f5"

r_packages:
- roxygen2
- devtools
- XML
- yaml
- 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:
- bash <(curl -s https://codecov.io/bash) -t 40f86a6d-0a11-485b-986d-385f921a73f5
- Rscript -e 'library(covr); codecov()'

0 comments on commit 4f21944

Please sign in to comment.