Skip to content

Commit

Permalink
add test coverage with coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
caijun committed Jun 1, 2015
1 parent 8df3844 commit 70bfd69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ install:
- $HOME/opt/pandoc/pandoc --version
# install uninstalled packages which this pkg depends on/links to/suggests.
- ./travis-tool.sh install_deps
- ./travis-tool.sh install_github tdhock/ggplot2
- ./travis-tool.sh install_github tdhock/ggplot2 jimhester/covr

script:
- Rscript -e "devtools::load_all(); setwd('tests'); source('testthat.R')"

after_failure:
- ./travis-tool.sh dump_logs

after_success:
- Rscript -e "library(covr);coveralls()"

notifications:
email:
on_success: change
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ animint - an R package for *anim*ated *int*eractive web graphics
=======

[![Build Status](https://travis-ci.org/tdhock/animint.png?branch=master)](https://travis-ci.org/tdhock/animint)
[![Coverage Status](https://coveralls.io/repos/tdhock/animint/badge.svg?branch=master)](https://coveralls.io/r/tdhock/animint?branch=master)
[![wercker status](https://app.wercker.com/status/3e56e443fb24a5ce304b706425ba6987/s/master "wercker status")](https://app.wercker.com/project/bykey/3e56e443fb24a5ce304b706425ba6987)

Interactive animations using [ggplot2](https://github.com/hadley/ggplot2)'s grammar of graphics implementation combined with clickSelects and showSelected aesthetics.
Expand Down

0 comments on commit 70bfd69

Please sign in to comment.