2018-03-29 12:56:03 +02:00
|
|
|
# Setting up R deps
|
2018-07-10 16:17:09 +02:00
|
|
|
language: r
|
2018-07-10 16:05:11 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- r: 3.1
|
2018-07-10 16:36:30 +02:00
|
|
|
os: linux
|
|
|
|
warnings_are_errors: false
|
|
|
|
- r: 3.1
|
|
|
|
os: osx
|
2018-07-10 16:31:13 +02:00
|
|
|
warnings_are_errors: false
|
2018-07-10 16:05:11 +02:00
|
|
|
- r: 3.2
|
2018-07-10 16:36:30 +02:00
|
|
|
os: linux
|
2018-07-10 16:31:13 +02:00
|
|
|
warnings_are_errors: false
|
2018-07-10 16:36:30 +02:00
|
|
|
- r: 3.2
|
|
|
|
os: osx
|
|
|
|
warnings_are_errors: false
|
|
|
|
- r: 3.3
|
|
|
|
os: linux
|
2018-07-10 16:05:11 +02:00
|
|
|
- r: 3.3
|
2018-07-10 16:36:30 +02:00
|
|
|
os: osx
|
2018-07-10 16:05:11 +02:00
|
|
|
- r: 3.4
|
2018-07-10 16:36:30 +02:00
|
|
|
os: linux
|
|
|
|
- r: 3.4
|
|
|
|
os: osx
|
|
|
|
- r: release
|
|
|
|
os: linux
|
2018-07-10 16:05:11 +02:00
|
|
|
- r: release
|
2018-07-10 16:36:30 +02:00
|
|
|
os: osx
|
|
|
|
- r: devel
|
|
|
|
os: linux
|
|
|
|
warnings_are_errors: false
|
2018-07-10 16:05:11 +02:00
|
|
|
- r: devel
|
2018-07-10 16:36:30 +02:00
|
|
|
os: osx
|
2018-07-10 16:05:11 +02:00
|
|
|
warnings_are_errors: false
|
2018-07-11 10:39:47 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- r: 3.1
|
|
|
|
- r: 3.2
|
|
|
|
- r: devel
|
2018-07-10 16:05:11 +02:00
|
|
|
r_packages: covr
|
2018-04-02 15:03:22 +02:00
|
|
|
cache: packages
|
2018-07-10 12:27:07 +02:00
|
|
|
cran: https://cran.rstudio.com
|
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-07-11 11:04:54 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then brew install libgit2; 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:
|
2018-07-10 16:36:30 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then Rscript -e 'covr::codecov()'; fi
|
2018-03-19 12:43:22 +01:00
|
|
|
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
|