forked from cboettig/knitcitations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (24 loc) · 926 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
language: c
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_aptget is quicker & more robust than install_deps
# devtools (imports httr) & testthat are already installed as binaries...
install:
- ./travis-tool.sh install_aptget r-cran-knitr
- ./travis-tool.sh install_github ropensci/rcrossref
- ./travis-tool.sh install_deps
script: ./travis-tool.sh run_tests
on_failure:
- ./travis-tool.sh dump_logs
#env:
# global:
# - R_BUILD_ARGS="--no-manual"
# - R_CHECK_ARGS="--as-cran --no-manual" # PDF Manual needs more recent tex, slow and unnecessary
# - BOOTSTRAP_LATEX="" # set to 1 only if we need more recent tex envir (slow!)
notifications:
email:
on_success: change
on_failure: always