Skip to content

Commit d43693f

Browse files
committed
Switch to r-travis tool.
1 parent ce496ea commit d43693f

File tree

1 file changed

+13
-38
lines changed

1 file changed

+13
-38
lines changed

.travis.yml

Lines changed: 13 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,21 @@
1-
language: r
2-
sudo: false
3-
cache: packages
4-
warnings_are_errors: true
5-
latex: false
1+
# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/
62

7-
matrix:
8-
include:
9-
- os: linux
10-
r: release
11-
addons:
12-
apt:
13-
packages:
14-
- valgrind
15-
r_check_args: '--as-cran --use-valgrind'
16-
env:
17-
- VALGRIND_OPTS='--leak-check=full --track-origins=yes'
3+
language: c
4+
sudo: required
5+
group: edge
186

19-
- os: linux
20-
compiler: clang
21-
r: release
7+
before_install:
8+
- curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh
9+
- ./run.sh bootstrap
2210

23-
- os: linux
24-
r: devel
25-
compiler: clang
11+
install:
12+
- ./run.sh install_aptget r-cran-rcpp r-cran-bh r-cran-runit r-cran-knitr r-cran-rmarkdown
2613

27-
- os: linux
28-
r: devel
29-
compiler: gcc
14+
script:
15+
- ./run.sh run_tests
3016

31-
- os: linux
32-
r: oldrel
33-
compiler: clang
34-
35-
- os: linux
36-
r: oldrel
37-
compiler: gcc
38-
39-
- os: osx
40-
r: release
41-
42-
- os: osx
43-
r: oldrel
17+
after_failure:
18+
- ./run.sh dump_logs
4419

4520
notifications:
4621
email:

0 commit comments

Comments
 (0)