diff --git a/.travis.yml b/.travis.yml index 5b38136..ea7385c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file