-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
32 lines (32 loc) · 1 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
32
sudo: required
dist: trusty
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"
- "./travis-tool.sh install_r testthat"
- "./travis-tool.sh install_github jimhester/covr"
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: VTFCz8WDWrQR5xufo8BGXhDppc5ZIIbw4CEOLIoRpt8GBTDRNMGHBpgUlCZL3nWzWY98nH438NgnPla+N9qjlTNQJU1y5v06OA9AJIs0r/9YMTnbt0bQhPIyugzZr4XdJzedZLffactXhee8zU9ZdSc2ahgquRac9TqTvAkj5xA=
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