forked from eddelbuettel/rcppredis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (30 loc) · 885 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
# 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/
sudo: required
language: c
env:
global:
- _R_CHECK_FORCE_SUGGESTS_=FALSE
- RunRcppRedisTests=yes
services:
- redis-server
before_install:
## PPA for Rcpp and some other packages
- sudo add-apt-repository -y ppa:edd/misc
## r-travis by Craig Citro et al
- 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_aptget r-cran-runit libhiredis-dev r-cran-rcpp r-cran-bh r-cran-rapiserialize r-cran-rredis
script:
- ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change