forked from robjhyndman/forecast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This rolls back to commit cbe4759.
- Loading branch information
Showing
1 changed file
with
11 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()' |