Skip to content

Commit a31fa80

Browse files
committed
adding travis config for running r tests
based on https://github.com/hadley/testthat/blob/master/.travis.yml
1 parent 6dbf832 commit a31fa80

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
2+
3+
language: c
4+
5+
env:
6+
- global:
7+
- WARNINGS_ARE_ERRORS=1
8+
9+
10+
before_install:
11+
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
12+
- chmod 755 ./travis-tool.sh
13+
- ./travis-tool.sh bootstrap
14+
15+
install:
16+
- ./travis-tool.sh install_deps
17+
18+
script: ./travis-tool.sh run_tests
19+
20+
on_failure:
21+
- ./travis-tool.sh dump_logs
22+
23+
notifications:
24+
email:
25+
on_success: change
26+
on_failure: change

0 commit comments

Comments
 (0)