diff --git a/.travis.yml b/.travis.yml index 8275323..3daa210 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,3 +12,37 @@ notifications: email: on_success: change on_failure: change + + +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: + ## For installing all CRAN dependencies using DESCRIPTION + - ./travis-tool.sh install_deps + + ## For installing all Bioconductor dependencies using DESCRIPTION + - ./travis-tool.sh install_bioc_deps + +# ## Install Github packages +# - ./travis-tool.sh install_github jimhester/covr + +env: + global: + - BIOC_USE_DEVEL="FALSE" ## Use the current release version + - R_BUILD_ARGS="--no-build-vignettes --no-manual" + - R_CHECK_ARGS="--no-build-vignettes --no-manual --timings" ## do not build vignettes or manual + - _R_CHECK_TIMINGS_="0" ## get the timing information for the examples for all of your functions + +script: + - travis_wait ./travis-tool.sh run_tests + +after_failure: + - ./travis-tool.sh dump_logs + +## Check how much time was spent in each of the example pages +after_script: + - ./travis-tool.sh dump_logs_by_extension "timings" + - ./travis-tool.sh dump_sysinfo