2018-03-19 12:43:22 +01:00
|
|
|
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
|
|
|
|
|
2018-03-29 12:56:03 +02:00
|
|
|
# Setting up R deps
|
2018-03-11 21:00:11 +01:00
|
|
|
language: r
|
2018-03-29 12:56:03 +02:00
|
|
|
r: 3.2
|
|
|
|
r_packages: covr
|
2018-03-11 21:00:11 +01:00
|
|
|
cache: packages
|
2018-03-19 12:43:22 +01:00
|
|
|
|
2018-03-29 12:56:03 +02:00
|
|
|
# system deps
|
2018-03-23 14:59:50 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2018-03-29 12:56:03 +02:00
|
|
|
sudo: true
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install -y xclip
|
2018-03-23 14:59:50 +01:00
|
|
|
|
2018-03-29 12:56:03 +02:00
|
|
|
# postrun
|
2018-03-19 12:43:22 +01:00
|
|
|
after_success:
|
|
|
|
- Rscript -e 'covr::codecov()'
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- m.s.berends@umcg.nl
|
|
|
|
- c.f.luz@umcg.nl
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|