-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (31 loc) · 1.14 KB
/
.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
language: c
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
- Rscript -e 'if (!require("covr")) devtools::install_github("kirillseva/covr")'
- Rscript -e 'if (!require("testthat")) devtools::install_github("hadley/testthat")'
- Rscript -e 'if (!require("testthatsomemore")) devtools::install_github("robertzk/testthatsomemore")'
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
hipchat:
rooms:
secure: KUVsut8WOTbytie+wbMY/TqPjz4ItuOcVWWHzedCPVOKVHZgcCNLNvhlCC1aODBHXW0mik6e1Y2XMXqTmihtN+OBrqagfXIqLA/EURS75BNJt36WOMpxMNAXF2MbeFPQ2ICKjzqOQQMKNPu+uKp7RTQEn292ctRoF6SQXDq33/8=
on_success: change
on_failure: change
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}
| Details: %{build_url} | Changes: %{compare_url}'
env:
- global:
- WARNINGS_ARE_ERRORS=1
- _R_CHECK_FORCE_SUGGESTS_=0