Skip to content

Commit 949358a

Browse files
committed
updated .travis.yml
1 parent 2afb37c commit 949358a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.travis.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# .travis.yml
2+
#
3+
# See README.md for instructions, or for more configuration options,
4+
# see the wiki:
5+
# https://github.com/craigcitro/r-travis/wiki
6+
7+
language: c
8+
branches:
9+
only:
10+
- master
11+
sudo: required
12+
before_install:
13+
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
14+
- chmod 755 ./travis-tool.sh
15+
- ./travis-tool.sh bootstrap
16+
install:
17+
- mkdir ~/.R
18+
- ./travis-tool.sh install_github jimhester/covr
19+
- ./travis-tool.sh install_deps
20+
script: ./travis-tool.sh run_tests
21+
22+
after_failure:
23+
- ./travis-tool.sh dump_logs
24+
25+
notifications:
26+
email:
27+
on_success: change
28+
on_failure: change
29+
30+
after_success:
31+
- Rscript -e 'library(covr);coveralls()'

0 commit comments

Comments
 (0)