-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ab779d
commit f78fc9b
Showing
1 changed file
with
19 additions
and
16 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,31 +1,34 @@ | ||
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis | ||
# Sample .travis.yml for R projects. | ||
# | ||
# See README.md for instructions, or for more configuration options, | ||
# see the wiki: | ||
# https://github.com/craigcitro/r-travis/wiki | ||
|
||
language: c | ||
|
||
os: | ||
- osx | ||
- linux | ||
language: objective-c | ||
sudo: required | ||
|
||
env: | ||
global: | ||
- CRAN: http://cran.rstudio.com | ||
- R_LIBS="http://cran.rstudio.com" | ||
- R_BUILD_ARGS="--no-build-vignettes --no-manual" | ||
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran" | ||
- BOOTSTRAP_LATEX="" | ||
- NOT_CRAN="true" | ||
|
||
script: "./travis-tool.sh run_tests" | ||
- NOT_CRAN="true" | ||
|
||
before_script: | ||
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" | ||
- "./travis-tool.sh install_deps - ./travis-tool.sh install_r EGRET lubridate binom" | ||
- ./travis-tool.sh bootstrap | ||
|
||
install: | ||
- ./travis-tool.sh install_deps | ||
|
||
script: ./travis-tool.sh run_tests | ||
|
||
after_script: | ||
- "./travis-tool.sh dump_logs" | ||
after_failure: | ||
- ./travis-tool.sh dump_logs | ||
|
||
notifications: | ||
email: | ||
on_success: change | ||
on_failure: change | ||
on_failure: change |