2018-03-29 12:56:03 +02:00
|
|
|
# Setting up R deps
|
2018-03-11 21:00:11 +01:00
|
|
|
language: r
|
2018-04-19 14:10:57 +02:00
|
|
|
r: 3.2
|
2018-04-02 11:11:21 +02:00
|
|
|
r_packages: covr
|
2018-04-02 15:03:22 +02:00
|
|
|
cache: packages
|
2018-03-19 12:43:22 +01:00
|
|
|
|
2018-04-02 11:11:21 +02:00
|
|
|
# system deps, install xclip for clipboard support
|
2018-03-23 14:59:50 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2018-06-27 15:56:59 +02:00
|
|
|
before_install:
|
|
|
|
# needed for clipboard function:
|
|
|
|
# - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update; fi
|
|
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -y xclip; fi
|
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then brew install xclip; fi
|
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
|
2018-05-22 16:34:22 +02:00
|
|
|
# - c.f.luz@umcg.nl
|
2018-03-19 12:43:22 +01:00
|
|
|
on_success: change
|
2018-03-29 14:07:54 +02:00
|
|
|
on_failure: change
|