Skip to content

Commit

Permalink
updated travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Dec 9, 2015
1 parent 2869d64 commit 0dd3806
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
language: r
warnings_are_errors: true
language: c
sudo: false

r_github_packages:
- jimhester/covr
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
- pandoc

r_binary_packages:
- testthat
- knitr
# - microbenchmark
- ggplot2
- data.table
- dplyr
env:
- R_LIBS_USER=~/R/library CRAN="http://cran.rstudio.com"

cache:
directories:
$R_LIBS_USER

before_script:
- curl -L https://raw.githubusercontent.com/rdatsci/travis-r-tools/master/update-packages.r -o /tmp/update-packages.r
- Rscript /tmp/update-packages.r
- mkdir -p "$R_LIBS_USER"
- Rscript -e 'if (length(find.package("devtools", quiet = TRUE)) == 0L) { install.packages("devtools", repos = "'${CRAN}'") }'
- Rscript -e 'devtools::update_packages("devtools", repos = "'${CRAN}'")'
- Rscript -e 'install.packages("covr", repos = "'${CRAN}'")'
- Rscript -e 'devtools::install_deps(repos = "'${CRAN}'", dependencies = TRUE, upgrade = TRUE)'

after_success:
- Rscript -e 'library(covr); coveralls()'
script:
- Rscript -e 'devtools::check()'

notifications:
email:
recipients:
- michellang@gmail.com
- bernd_bischl@gmx.net
on_success: change
on_failure: always
after_success:
- Rscript -e 'library(covr); coveralls()'

0 comments on commit 0dd3806

Please sign in to comment.