1
# Sample .travis.yml for R projects.
3
# See https://github.com/craigcitro/r-travis
5
# Running with default settings which for now means 'no manual, no vignettes'
6
# and checking '--as-cran'.
9
script: ./travis-tool.sh run_tests
11
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
12
- chmod 755 ./travis-tool.sh
13
- ./travis-tool.sh bootstrap
15
- ./travis-tool.sh r_install RUnit Rcpp
17
- ./travis-tool.sh dump_logs
23
# Options used for building or testing your R package can be
24
# controlled by uncommenting one or both of the following; the values
25
# here are the defaults:
28
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
29
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
30
# See the travis docs for more information:
31
# http://about.travis-ci.org/docs/user/build-configuration/#The-Build-Matrix
34
# Also works but is slower as it needs devtools:
35
# - ./travis-tool.sh install_deps
37
# Currently unused (and GSL used for illustration)
38
# - ./travis-tool.sh aptget_install libgsl0-dev