File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ install:
28
28
- sudo apt-get install -qq pandoc pandoc-citeproc texlive-latex-recommended > /dev/null
29
29
- " wget -q -O - http://yihui.name/xran/r-config | bash"
30
30
- Rscript -e 'devtools::install_deps(dep = TRUE)'
31
+ - Rscript -e 'devtools::install_github("jimhester/covr")'
31
32
32
33
# run tests
33
34
script :
@@ -37,3 +38,6 @@ script:
37
38
after_success :
38
39
- export R_PKG="$(basename $TRAVIS_REPO_SLUG)"
39
40
- " [ $TARGET = integration ] && (wget -q -O - http://yihui.name/xran/r-xran | bash)"
41
+
42
+ # run test coverage only for the travis build
43
+ - " [ $TARGET = travis ] && Rscript -e 'library(covr);coveralls()'"
Original file line number Diff line number Diff line change 1
1
# knitr
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/yihui/knitr.svg )] ( https://travis-ci.org/yihui/knitr )
4
+ [ ![ Coverage Status] ( https://img.shields.io/coveralls/yihui/knitr.svg )] ( https://coveralls.io/r/yihui/knitr?branch=master )
4
5
5
6
The R package ** knitr** is a general-purpose literate programming engine,
6
7
with lightweight API's designed to give users full control of the output
You can’t perform that action at this time.
0 commit comments