-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (30 loc) · 889 Bytes
/
.travis.yml
File metadata and controls
42 lines (30 loc) · 889 Bytes
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
38
# 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: objective-c
sudo: required
env:
global:
- 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"
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:
- ./travis-tool.sh install_deps
- ./travis-tool.sh install_r covr
script: ./travis-tool.sh run_tests
after_success:
- Rscript -e 'covr::coveralls()'
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change