Skip to content

Commit

Permalink
old travis file, new coveralls call
Browse files Browse the repository at this point in the history
This rolls back to commit cbe4759.
  • Loading branch information
zachmayer committed Jul 1, 2015
1 parent 349f6ce commit 6d37a2d
Showing 1 changed file with 11 additions and 29 deletions.
40 changes: 11 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,20 @@
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
# Sample .travis.yml for R projects

language: c
language: r
warnings_are_errors: true
sudo: required

env:
global:
- WARNINGS_ARE_ERRORS=1
- R_BUILD_ARGS="--no-manual --no-build-vignettes"
- R_CHECK_ARGS="--no-manual --no-build-vignettes --as-cran"
- BOOTSTRAP_LATEX=""
matrix:
- NOT_CRAN="true"
- NOT_CRAN="false"

before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap

install:
- ./travis-tool.sh install_deps
- ./travis-tool.sh github_package jimhester/covr@4cae287abde5e2cf0c3c73aedeaec4d902dfd3ed
- ./travis-tool.sh github_package hadley/devtools@52bc15bb7eb87105bbf799d7f784054921146c02
- ./travis-tool.sh github_package hadley/testthat@c67018fa4970ee3390ea2056efe56726626b07e3
r_github_packages:
- jimhester/covr

script: ./travis-tool.sh run_tests

on_failure:
- ./travis-tool.sh dump_logs

after_success:
- Rscript -e 'library(covr);coveralls()'
env:
global:
- CRAN: http://cran.rstudio.com

notifications:
email:
on_success: change
on_failure: change

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

0 comments on commit 6d37a2d

Please sign in to comment.