-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
37 lines (29 loc) · 1005 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
33
34
35
36
37
# Sample .travis.yml for R projects.
#
# See the r-travis repo and its wiki
# https://github.com/craigcitro/r-travis/wiki
# https://github.com/eddelbuettel/r-travis/
language: c
env:
global:
- PKG_CFLAGS="-I../inst/include -DLOGGER_LEVEL=LL_WARN"
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-vignettes --no-manual"
matrix:
- _R_CHECK_CRAN_INCOMING_=FALSE
- R_BUILD_ARGS=" " R_CHECK_ARGS="--as-cran" BOOTSTRAP_LATEX="1" _R_CHECK_CRAN_INCOMING_=TRUE BOOTSTRAP_PANDOC="1"
before_install:
- echo "options(repos = c(CRAN='http://cran.r-project.org'))" >> ~/.Rprofile
- curl -OL http://raw.github.com/qinwf/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
- ./travis-tool.sh install_deps
script:
- ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change