-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (31 loc) · 955 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
38
39
40
41
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
language: c
env:
global:
# Enable vignette building:
- R_BUILD_ARGS="--no-manual"
# Disable this until the dust settles:
# - WARNINGS_ARE_ERRORS=1
sudo: required
# For testing against and using RcppRedis
services:
- redis-server
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 rmarkdown
- ./travis-tool.sh install_r RcppRedis
- ./travis-tool.sh github_package jimhester/covr
- ./travis-tool.sh github_package richfitz/redux@merge_redis_api
script: ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
after_success:
- Rscript -e 'library(covr); coveralls()'
notifications:
email:
on_success: change
on_failure: change